Skip to content

Commit

Permalink
Merge pull request maximilianh#200 from mxposed/fix-meta-utf8
Browse files Browse the repository at this point in the history
Great thanks!!!
  • Loading branch information
maximilianh committed Dec 21, 2020
2 parents 5207737 + 17b4175 commit 6a2a0bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cbPyLib/cellbrowser/cbWeb/js/cbData.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var cbUtil = (function () {
"url" : url,
type : "GET",
dataType : "json",
mimeType : 'text/plain; charset=x-user-defined', // for local files, avoids errors
//mimeType : 'text/plain; charset=x-user-defined', // for local files, avoids errors
success: function(data) {
onSuccess(data);
},
Expand Down Expand Up @@ -129,7 +129,7 @@ var cbUtil = (function () {

var dataLen = binData.byteLength;
if (!dataLen)
dataLen = binData.length;
dataLen = new Blob([binData]).size;;

if (dataLen < expLength)
alert("internal error cbData.js: chunk is too small. Does the HTTP server really support byte range requests?");
Expand Down

0 comments on commit 6a2a0bb

Please sign in to comment.