OSDN Git Service
(root)
/
quickedit
/
quick_view.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8bba76
)
To adjust the display position of the tooltip
author
akrstjp
<akrst@users.osdn.me>
Mon, 4 Jan 2016 13:42:18 +0000
(22:42 +0900)
committer
akrstjp
<akrst@users.osdn.me>
Mon, 4 Jan 2016 13:42:18 +0000
(22:42 +0900)
app/views/hooks/_quick_view_base_bottom_tooltip.html.erb
patch
|
blob
|
history
diff --git
a/app/views/hooks/_quick_view_base_bottom_tooltip.html.erb
b/app/views/hooks/_quick_view_base_bottom_tooltip.html.erb
index
5eff73e
..
35c5a01
100644
(file)
--- a/
app/views/hooks/_quick_view_base_bottom_tooltip.html.erb
+++ b/
app/views/hooks/_quick_view_base_bottom_tooltip.html.erb
@@
-35,6
+35,7
@@
function quick_view_tooltip_activate_if_mouse_stay(link) {
var url = "<%= portray_quick_view_issue_path(0) %>".replace(/0\/portray$/, issue_id + "/portray");
link.tooltip({
tooltipClass:"quick_view_portrait",
+ position: { my: "left+30px top-80px", at: "right top+10px", collision: "flipfit" },
track: true,
items: "[class]",
content: "<div class='quick_view_portrait_loading'><img src='<%= image_path("loading.gif")%>'></img>LOADING</div>"