Added ' for css selector to activate last used tab.

This commit is contained in:
Martin Edenhofer 2016-03-14 10:46:37 +01:00
parent 845b87ceb0
commit c27aee75eb

View file

@ -340,8 +340,8 @@ class App.ControllerTabs extends App.Controller
# set last or first tab to active
@lastActiveTab = @Config.get('lastTab')
if @lastActiveTab && @$(".nav-tabs li a[href=#{@lastActiveTab}]")[0]
@$(".nav-tabs li a[href=#{@lastActiveTab}]").tab('show')
if @lastActiveTab && @$(".nav-tabs li a[href='#{@lastActiveTab}']")[0]
@$(".nav-tabs li a[href='#{@lastActiveTab}']").tab('show')
else
@$('.nav-tabs li:first a').tab('show')