Skip to content

Commit 17fa667

Browse files
ChrisLoerlucaswoj
authored andcommitted
Fix regression #4054: use new ajax.getArrayBuffer interface for rtl-text (#4055)
1 parent de6af06 commit 17fa667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/source/rtl_text_plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports.setRTLTextPlugin = function(pluginURL, callback) {
2828
callback(err);
2929
} else {
3030
pluginBlobURL =
31-
window.URL.createObjectURL(new window.Blob([response]), {type: "text/javascript"});
31+
window.URL.createObjectURL(new window.Blob([response.data]), {type: "text/javascript"});
3232

3333
for (const pluginAvailableCallback of pluginAvailableCallbacks) {
3434
pluginAvailableCallback(pluginBlobURL);

0 commit comments

Comments
 (0)