Index: branches/wmf/1.19wmf1/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -414,6 +414,10 @@ |
415 | 415 | |
416 | 416 | // we explicitly move the file input to cover the upload button |
417 | 417 | upload.ui.moveFileInputToCover( '#mwe-upwiz-add-file' ); |
| 418 | + // do it again in case the layout didn't update immediately |
| 419 | + setTimeout(function() { |
| 420 | + upload.ui.moveFileInputToCover( '#mwe-upwiz-add-file' ); |
| 421 | + }, 50); |
418 | 422 | |
419 | 423 | // we bind to the ui div since unbind doesn't work for non-DOM objects |
420 | 424 | |
Property changes on: branches/wmf/1.19wmf1/extensions/UploadWizard |
___________________________________________________________________ |
Modified: svn:mergeinfo |
421 | 425 | Merged /trunk/extensions/UploadWizard:r112166 |
Property changes on: branches/wmf/1.19wmf1/extensions |
___________________________________________________________________ |
Modified: svn:mergeinfo |
422 | 426 | Merged /trunk/extensions:r112166 |