aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/io/system/chromeapi.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js
index b13dd9de..f9ab2d12 100644
--- a/js/io/system/chromeapi.js
+++ b/js/io/system/chromeapi.js
@@ -136,12 +136,8 @@ exports.ChromeApi = Montage.create(Object.prototype, {
136 mime = 'text/'+type; 136 mime = 'text/'+type;
137 break; 137 break;
138 } 138 }
139 //TODO: Remove version checking once Chrome version 22 is stable 139 //
140 if (version > 21) { 140 blob = new Blob([new Uint8Array(content)], {type: type});
141 blob = new Blob([new Uint8Array(content)], {type: type});
142 } else {
143 blob = new Blob([content], {type: type});
144 }
145 // 141 //
146 writer.write(blob); 142 writer.write(blob);
147 // 143 //