diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-08-29 12:12:23 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-08-29 12:12:23 +0200 |
commit | 81de1c4b127e116c8ca3e5df620b5c0a56a087bc (patch) | |
tree | 45d4b4d22344c9588bd2e4e16be450a239a4e2cd /module/webui/themes/dark/js/static/tinytab.min.js | |
parent | [webui] Improve and fix (diff) | |
download | pyload-81de1c4b127e116c8ca3e5df620b5c0a56a087bc.tar.xz |
[webui] Improve and fix 2
Diffstat (limited to 'module/webui/themes/dark/js/static/tinytab.min.js')
-rw-r--r-- | module/webui/themes/dark/js/static/tinytab.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/webui/themes/dark/js/static/tinytab.min.js b/module/webui/themes/dark/js/static/tinytab.min.js new file mode 100644 index 000000000..2f4fa0436 --- /dev/null +++ b/module/webui/themes/dark/js/static/tinytab.min.js @@ -0,0 +1 @@ +!function(){this.TinyTab=new Class({Implements:Events,initialize:function(s,t,e){this.tabs=s,this.contents=t,e||(e={}),this.css=e.selectedClass||"selected",this.select(this.tabs[0]),s.each(function(s){s.addEvent("click",function(t){this.select(s),t.stop()}.bind(this))}.bind(this))},select:function(s){this.tabs.removeClass(this.css),s.addClass(this.css),this.contents.setStyle("display","none");var t=this.contents[this.tabs.indexOf(s)];t.setStyle("display","block"),this.fireEvent("change",[t,s])}})}(document.id);
\ No newline at end of file |