MINOR Fixed tab selection state

This commit is contained in:
Ingo Schommer 2012-05-30 16:05:30 +02:00
parent 0eac6ea5c3
commit 5a93ee77f8

View File

@ -810,7 +810,7 @@ jQuery.noConflict();
this.rewriteHashlinks();
var id = this.attr('id'), cookieId = 'ui-tabs-' + id,
selectedTab = this.find('ul:first .ui-state-selected');
selectedTab = this.find('ul:first .ui-tabs-selected');
// Fix for wrong cookie storage of deselected tabs
if($.cookie && id && $.cookie(cookieId) == -1) $.cookie(cookieId, 0);