@@ -1,10 +0,0 @@
-//- script(type="text/javascript").
-//- if (window.location.hash) {
-//- setTimeout(function(){
-//- tabID = window.location.hash.replace(/#!?/, '')
-//- tab = document.getElementById(tabID)
-//- if (tab && typeof(tab) != 'undefined' && tab != null) {
-//- tab.setAttribute('active', true)
-//- }
-//- }, 500);
@@ -7,7 +7,7 @@ define [
link: (scope, el, attrs, tabset) ->
scope.$applyAsync () ->
hash = $location.hash()
- if hash?
+ if hash? and hash != ""
matchingTab = _.find tabset.tabs, (tab) ->
tab.bookmarkableTabId == hash
if matchingTab?