diff --git a/step-web/src/main/webapp/js/backbone/views/view_sidebar.js b/step-web/src/main/webapp/js/backbone/views/view_sidebar.js index afd3220c3a..1d44973f25 100644 --- a/step-web/src/main/webapp/js/backbone/views/view_sidebar.js +++ b/step-web/src/main/webapp/js/backbone/views/view_sidebar.js @@ -300,7 +300,7 @@ var SidebarView = Backbone.View.extend({ .append(mainWord.stepGloss) .append("' ") .append($(" ").append(" (" + mainWord.strongNumber + ")").addClass("strongNumberTagLine")) - .append('') + .append('') ); }, @@ -604,11 +604,11 @@ var SidebarView = Backbone.View.extend({ _lookUpGeoInfo: function(mainWord, bookName, coordinates) { bookName = bookName.substring(0, bookName.length - 1); - var possibleMapElement = $("#possibleMap"); + var possibleMapElement = $("#possibleMap" + mainWord.strongNum); if (possibleMapElement.length == 0) { console.log ("cannot find possible Map ID in html"); // add a sleep here - possibleMapElement = $("#possibleMap"); + possibleMapElement = $("#possibleMap" + mainWord.strongNum); } possibleMapElement.empty().html("