bug 13448 second bit
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 20 Mar 2008 21:48:28 +0000 (21:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 20 Mar 2008 21:48:28 +0000 (21:48 +0000)
skins/common/upload.js

index e46c3ec..d1cf4b3 100644 (file)
@@ -96,7 +96,7 @@ var wgUploadWarningObj = {
 
                // Set a value in the form indicating that the warning is acknowledged and 
                // doesn't need to be redisplayed post-upload
-               if ( warning == '' || warning == '&nbsp' ) {
+               if ( warning == '' || warning == '&nbsp;' ) {
                        ackElt.value = '';
                } else {
                        ackElt.value = '1';