2020.02新版

This commit is contained in:
Blokura
2020-02-21 16:20:55 +08:00
parent 45e2415d71
commit a2f29a310b
755 changed files with 95144 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
+function ($) {
$(function(){
$(document).on('click', '[ui-toggle]', function (e) {
e.preventDefault();
var $this = $(e.target);
$this.attr('ui-toggle') || ($this = $this.closest('[ui-toggle]'));
var $target = $($this.attr('target')) || $this;
$target.toggleClass($this.attr('ui-toggle'));
});
});
}(jQuery);