Fix some 'quote reply' button quirks

This commit is contained in:
Régis Hanol
2013-04-02 10:35:22 +02:00
parent effb440de0
commit dd4f24919f
2 changed files with 12 additions and 1 deletions
@@ -64,7 +64,10 @@ Discourse.QuoteButtonController = Discourse.Controller.extend({
// move the quote button at the beginning of the selection
var $quoteButton = $('.quote-button');
$quoteButton.css({ top: top - $quoteButton.outerHeight(), left: left });
$quoteButton.css({
top: top - $quoteButton.outerHeight() - 5,
left: left
});
// remove the marker
markerElement.parentNode.removeChild(markerElement);