Created
October 23, 2009 16:56
-
-
Save smith/217032 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/tabs.js b/src/tabs.js | |
| index 7efbe24..133c1b8 100644 | |
| --- a/src/tabs.js | |
| +++ b/src/tabs.js | |
| @@ -83,10 +83,8 @@ Control.Tabs = Class.create({ | |
| throw "Control.Tabs: #" + link.key + " was not found on the page."; } | |
| this.containers.set(link.key,container); | |
| link[this.options.hover ? 'onmouseover' : 'onclick'] = function(link){ | |
| - if(window.event) { | |
| - Event.stop(window.event); } | |
| this.setActiveTab(link); | |
| - return false; | |
| + return true; | |
| }.bind(this,link); | |
| }, | |
| setActiveTab: function(link){ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment