File Editor
Directories:
.. (Back)
Files:
class-sinatra-customizer-control-toggle.php
toggle.css
toggle.js
toggle.min.css
toggle.min.js
Create New File
Create
Edit File: toggle.min.js
wp.customize.controlConstructor["sinatra-toggle"]=wp.customize.Control.extend({ready:function(){"use strict";var control=this;control.container.on("click",".sinatra-toggle-switch",(function(){control.setting.set(!control.setting.get())}))}});
Save Changes
Rename File
Rename