Skip to content

Commit 201c25e

Browse files
committed
Avoid noConflict(true)
flask_mongoengine doesn't package it's own jQuery. This .noConflict() would take the current $ off the window, causing other jQuery calls to break. Another approach is used here: MongoEngine#313
1 parent a0b0cf8 commit 201c25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_mongoengine/templates/panels/mongo-panel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,5 @@ <h4>{{ title }}</h4>
167167
$(this).closest('table').find('tr.mongo-stack-trace-hide').toggle();
168168
});
169169

170-
})(jQuery.noConflict(true));
170+
})(jQuery);
171171
</script>

0 commit comments

Comments
 (0)