DetGC commited on
Commit
93eeb44
·
verified ·
1 Parent(s): 336626a

Update js_free-online-image-upscaler.js

Browse files
Files changed (1) hide show
  1. js_free-online-image-upscaler.js +1 -1
js_free-online-image-upscaler.js CHANGED
@@ -2943,7 +2943,7 @@
2943
  r.readAsDataURL(e), r.onload = function() {
2944
  var i = this;
2945
  Pu.loadImage(this.result, function(e) {
2946
- if (3e3 <= e.width || 3e3 <= e.height) return ju.showMessageBox("error", Nu), !1;
2947
  var t = document.createElement("canvas"),
2948
  r = t.getContext("2d");
2949
  t.width = e.width, t.height = e.height, r.drawImage(e, 0, 0, e.width, e.height);
 
2943
  r.readAsDataURL(e), r.onload = function() {
2944
  var i = this;
2945
  Pu.loadImage(this.result, function(e) {
2946
+ if (999e3 <= e.width || 999e3 <= e.height) return ju.showMessageBox("error", Nu), !1;
2947
  var t = document.createElement("canvas"),
2948
  r = t.getContext("2d");
2949
  t.width = e.width, t.height = e.height, r.drawImage(e, 0, 0, e.width, e.height);