Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit a6b9419

Browse files
committed
fix line cut-off causing jshint to fail
1 parent af48246 commit a6b9419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392

393393
// Left position is set according to an active paragraph
394394
if ($p.length) {
395-
left = $p.position().left - parseInt($buttons.find('.medium-insert-buttons-addons').css('left'), 10) - parseInt($bu
395+
left = $p.position().left - parseInt($buttons.find('.medium-insert-buttons-addons').css('left'), 10) - parseInt($buttons.find('.medium-insert-buttons-addons a:first').css('margin-left'), 10);
396396
left = left < 0 ? $p.position().left : left;
397397
$buttons.css('left', left);
398398
}

0 commit comments

Comments
 (0)