dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
beec2a2
)
Merge "jquery.suggestions: Use document width instead of <body> width for position...
author
TheDJ
<hartman.wiki@gmail.com>
Sun, 25 Aug 2013 13:43:56 +0000
(13:43 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sun, 25 Aug 2013 13:43:56 +0000
(13:43 +0000)
resources/jquery/jquery.suggestions.js
patch
|
blob
|
history
diff --git
a/resources/jquery/jquery.suggestions.js
b/resources/jquery/jquery.suggestions.js
index
44382f0
..
93fba49
100644
(file)
--- a/
resources/jquery/jquery.suggestions.js
+++ b/
resources/jquery/jquery.suggestions.js
@@
-220,7
+220,7
@@
$.suggestions = {
} else {
// Expand from right
newCSS.left = 'auto';
- newCSS.right = $(
'body'
).width() - ( context.config.$region.offset().left + context.config.$region.outerWidth() );
+ newCSS.right = $(
document
).width() - ( context.config.$region.offset().left + context.config.$region.outerWidth() );
}
context.data.$container.css( newCSS );