瀏覽代碼

Fix undefined check in Excel import.

Andrew Klopper 8 年之前
父節點
當前提交
9ecde56cb3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      feed_content/templates/feed_content/feed_category_import_excel.html

+ 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;