Skip to content

A platform for community discussion. Free, open, simple.

Remove unnecessary console log

Jeff Wong94ff575bdd1c
diff --git a/app/assets/javascripts/discourse/mixins/card-contents-base.js.es6 b/app/assets/javascripts/discourse/mixins/card-contents-base.js.es6
index 77a8fac7f47..f05fcb55a6e 100644
--- a/app/assets/javascripts/discourse/mixins/card-contents-base.js.es6
+++ b/app/assets/javascripts/discourse/mixins/card-contents-base.js.es6
@@ -141,7 +141,6 @@ export default Ember.Mixin.create({
position.top -= $('html').scrollTop();
//if content is fixed and will be cut off on the bottom, display it above...
if(position.top + height + verticalAdjustments > $(window).height() - 50) {
- console.log("adjusting... by " + (height + verticalAdjustments + 48));
position.bottom = $(window).height() - (target.offset().top - $('html').scrollTop());
if(verticalAdjustments > 0) {
position.bottom += 48;