diff --git a/modules/ext.PrimarySources.sidebar.js b/modules/ext.PrimarySources.sidebar.js index 4b30a40..81aed59 100644 --- a/modules/ext.PrimarySources.sidebar.js +++ b/modules/ext.PrimarySources.sidebar.js @@ -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'),