Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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