Skip to content

Commit

Permalink
Fixes tab activation with invalid jquery selector # emerged on the up…
Browse files Browse the repository at this point in the history
…dated jquery
  • Loading branch information
darklow committed Jan 4, 2017
1 parent ea9731b commit 4da26e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suit/static/suit/js/suit.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ window.Suit = Suit;
foundError = true;
}
});
!foundError && $($tabs).find('a[href=' + window.location.hash + ']').click();
!foundError && $($tabs).find('a[href=\\' + window.location.hash + ']').click();
} else {
$tabLinks.first().trigger('click');
}
Expand Down

0 comments on commit 4da26e1

Please sign in to comment.