Skip to content

Commit 14e3439

Browse files
committed
Fixed the share tool tip position.
1 parent 847c3b8 commit 14e3439

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/views/ShareMenu.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ p._handleCopySuccess = function(event) {
8686

8787
p.showCopyToolTip = function(content, event, autoHide) {
8888
var rect = event.trigger.getBoundingClientRect();
89-
this._successToolTip.show(content, rect);
89+
90+
var xOffset = 15;
91+
this._successToolTip.show(content, {right: rect.right+xOffset, left: rect.left+xOffset, top: rect.top, bottom: rect.bottom});
9092
var _this = this;
9193

9294
if (autoHide !== false) {

0 commit comments

Comments
 (0)