This commit is contained in:
Guo Xiang Tan 2016-07-08 16:04:59 +08:00
parent c6a6d6e1d6
commit c402641684
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export default Ember.Controller.extend({
range.insertNode(markerElement); range.insertNode(markerElement);
// retrieve the position of the marker // retrieve the position of the marker
const $markerElement = $(markerElement) const $markerElement = $(markerElement),
markerOffset = $markerElement.offset(), markerOffset = $markerElement.offset(),
parentScrollLeft = $markerElement.parent().scrollLeft(), parentScrollLeft = $markerElement.parent().scrollLeft(),
$quoteButton = $('.quote-button'); $quoteButton = $('.quote-button');