Index: trunk/extensions/CentralAuth/centralauth.js |
— | — | @@ -21,7 +21,9 @@ |
22 | 22 | methodHint.style.left = wgCursorPosition.x + 'px'; |
23 | 23 | methodHint.style.top = wgCursorPosition.y + 'px'; |
24 | 24 | methodHint.setAttribute( 'onclick', 'hideMethodHint()' ); |
25 | | - document.getElementById( 'globalWrapper' ).appendChild( methodHint ); |
| 25 | + |
| 26 | + var content = document.getElementById('content') || document.getElementById('mw_content') || document.body; |
| 27 | + content.appendChild( methodHint ); |
26 | 28 | } |
27 | 29 | |
28 | 30 | function hideMethodHint() { |