Skip to content

Commit

Permalink
fix navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiailandi committed Mar 20, 2018
1 parent cb1bf8a commit 191086b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ext.PrimarySources.sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
return anchorList.length;
},
appendToNav: function appendToNav(container){
var firstNewObj = $(container).find('.new-object')[0];
var firstNewObj = $(container).find('.new-object')[0] || $(container).find('.new-source')[0];
if (firstNewObj) {
var anchor = {
title : $(container).find('.wikibase-statementgroupview-property-label'),
Expand Down

0 comments on commit 191086b

Please sign in to comment.