Browse Source

Missed one global

Kevin van Zonneveld 9 years ago
parent
commit
8129430272
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/locale/en_US.js

+ 2 - 2
src/locale/en_US.js

@@ -17,8 +17,8 @@ en_US.pluralize = function (n) {
   return 1
 }
 
-if (typeof Uppy !== 'undefined') {
-  Uppy.locale.en_US = en_US
+if (typeof window.Uppy !== 'undefined') {
+  window.Uppy.locale.en_US = en_US
 }
 
 export default en_US