summaryrefslogtreecommitdiff
path: root/skins/common/upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'skins/common/upload.js')
-rw-r--r--skins/common/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/common/upload.js b/skins/common/upload.js
index 7cbfc9aa..f00c4db8 100644
--- a/skins/common/upload.js
+++ b/skins/common/upload.js
@@ -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 == ' ' ) {
ackElt.value = '';
} else {
ackElt.value = '1';