Quellcode durchsuchen

Fix undefined check in Excel import.

Andrew Klopper vor 8 Jahren
Ursprung
Commit
9ecde56cb3

+ 1 - 1
feed_content/templates/feed_content/feed_category_import_excel.html

@@ -88,7 +88,7 @@
88 88
 <script>
89 89
   'use strict';
90 90
 
91
-  if (FileReader.prototype.readAsBinaryString === undefined) {
91
+  if (typeof FileReader.prototype.readAsBinaryString === 'undefined') {
92 92
     FileReader.prototype.readAsBinaryString = function (fileData) {
93 93
       var binary = "";
94 94
       var pt = this;