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..fbbb5c9 100644
--- a/src/tabs.js
+++ b/src/tabs.js
@@ -44,6 +44,8 @@ Control.Tabs = Class.create({
return (/^#/).exec((Prototype.Browser.WebKit ? decodeURIComponent(link.href) : link.href).replace(window.location.href.split('#')[0],''));
}).each(function(link){
this.addTab(link);
+ link.writeAttribute("href",null);
+ link.setStyle({cursor:'pointer'});
}.bind(this));
this.containers.values().each(Element.hide);
if(this.options.defaultTab == 'first') {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment