mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove unnecessary console log
This commit is contained in:
parent
0d3d9d91c6
commit
94ff575bdd
@ -141,7 +141,6 @@ export default Ember.Mixin.create({
|
|||||||
position.top -= $('html').scrollTop();
|
position.top -= $('html').scrollTop();
|
||||||
//if content is fixed and will be cut off on the bottom, display it above...
|
//if content is fixed and will be cut off on the bottom, display it above...
|
||||||
if(position.top + height + verticalAdjustments > $(window).height() - 50) {
|
if(position.top + height + verticalAdjustments > $(window).height() - 50) {
|
||||||
console.log("adjusting... by " + (height + verticalAdjustments + 48));
|
|
||||||
position.bottom = $(window).height() - (target.offset().top - $('html').scrollTop());
|
position.bottom = $(window).height() - (target.offset().top - $('html').scrollTop());
|
||||||
if(verticalAdjustments > 0) {
|
if(verticalAdjustments > 0) {
|
||||||
position.bottom += 48;
|
position.bottom += 48;
|
||||||
|
Loading…
Reference in New Issue
Block a user