Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Oct 1, 2024
1 parent 89768a7 commit 111692f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step-web/src/main/webapp/js/backbone/views/view_sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ var SidebarView = Backbone.View.extend({
},
// for one-line morphology
_createBriefMorphInfo: function (panel, info, morphCount, ref, strongNum) {
if (typeof info === "undefined") {
if ((typeof info === "undefined") || (Object.keys(info).length === 0)) {
panel.append("<br />");
return;
}
Expand Down

0 comments on commit 111692f

Please sign in to comment.