Index: trunk/extensions/Translate/resources/ext.translate.quickedit.js |
— | — | @@ -87,15 +87,15 @@ |
88 | 88 | callbacks.close && callbacks.close(); |
89 | 89 | callbacks.next && callbacks.next(); |
90 | 90 | } ); |
91 | | - form.find( '.mw-translate-close' ).click( function () { |
92 | | - callbacks.close && callbacks.close(); |
93 | | - } ); |
94 | 91 | } |
95 | 92 | } else { |
96 | 93 | form.find( '.mw-translate-next, .mw-translate-skip' ) |
97 | 94 | .attr( 'disabled', 'disabled' ) |
98 | 95 | .css( 'display', 'none' ); |
99 | 96 | } |
| 97 | + form.find( '.mw-translate-close' ).click( function () { |
| 98 | + callbacks.close && callbacks.close(); |
| 99 | + } ); |
100 | 100 | |
101 | 101 | form.find( '.mw-translate-history' ).click( function() { |
102 | 102 | window.open( mw.util.wikiScript() + '?action=history&title=' + form.find( 'input[name=title]' ).val() ); |