Added ' for css selector to activate last used tab.
This commit is contained in:
parent
845b87ceb0
commit
c27aee75eb
1 changed files with 2 additions and 2 deletions
|
@ -340,8 +340,8 @@ class App.ControllerTabs extends App.Controller
|
||||||
|
|
||||||
# set last or first tab to active
|
# set last or first tab to active
|
||||||
@lastActiveTab = @Config.get('lastTab')
|
@lastActiveTab = @Config.get('lastTab')
|
||||||
if @lastActiveTab && @$(".nav-tabs li a[href=#{@lastActiveTab}]")[0]
|
if @lastActiveTab && @$(".nav-tabs li a[href='#{@lastActiveTab}']")[0]
|
||||||
@$(".nav-tabs li a[href=#{@lastActiveTab}]").tab('show')
|
@$(".nav-tabs li a[href='#{@lastActiveTab}']").tab('show')
|
||||||
else
|
else
|
||||||
@$('.nav-tabs li:first a').tab('show')
|
@$('.nav-tabs li:first a').tab('show')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue