web/assets/js/dist/_commons/sidebar.min.js
2020-04-23 22:11:50 +08:00

1 line
No EOL
235 B
JavaScript

$(function(){var a=(function(){const c="sidebar-display";var d=false;var b=$("body");return{toggle:function(){if(d==false){b.attr(c,"")}else{b.removeAttr(c)}d=!d}}})();$("#sidebar-trigger").click(a.toggle);$("#mask").click(a.toggle)});