From 81de1c4b127e116c8ca3e5df620b5c0a56a087bc Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 29 Aug 2014 12:12:23 +0200 Subject: [webui] Improve and fix 2 --- module/webui/themes/dark/js/static/tinytab.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 module/webui/themes/dark/js/static/tinytab.min.js (limited to 'module/webui/themes/dark/js/static/tinytab.min.js') 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 -- cgit v1.2.3