Skip to content
Snippets Groups Projects
Commit 666dbd46 authored by Demian Katz's avatar Demian Katz
Browse files

Fix bad selector; this was breaking preview tab.

parent 4eef8624
No related merge requests found
...@@ -72,7 +72,7 @@ function processGBSBookInfo(booksInfo) { ...@@ -72,7 +72,7 @@ function processGBSBookInfo(booksInfo) {
if (viewOptions.tab.indexOf(booksInfo[bibkey].preview) >= 0 if (viewOptions.tab.indexOf(booksInfo[bibkey].preview) >= 0
&& (booksInfo[bibkey].embeddable)) { && (booksInfo[bibkey].embeddable)) {
// make tab visible // make tab visible
$('ul.nav-tabs li.hidden a.preview').parent().removeClass('hidden'); $('ul.nav-tabs li.hidden[data-tab="preview"]').removeClass('hidden');
} }
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment