Use e.returnValue when e.preventDefault isn't defined (for IE 7) to prevent page jump when clicked.

This commit is contained in:
Steve Schwartz
2013-05-09 00:51:39 -04:00
parent 2e53a9d651
commit 05abdcbf5a
+1 -1
View File
@@ -483,7 +483,7 @@
plugin.selectTab( $(this) );
// Don't follow the link to the anchor
e.preventDefault();
e.preventDefault ? e.preventDefault() : e.returnValue = false;
});
};