DetGC commited on
Commit
2c8fcab
·
verified ·
1 Parent(s): f3ae1cc

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
@@ -3087,7 +3087,7 @@
3087
  $(".right_img_show").attr("src", u), $(".left_img_show").attr("src", Fu.oldImageBlob), $(".old-preview").css("background-image", "url(".concat(Fu.oldImageBlob, ")")), $(".new-preview").css("background-image", "url(".concat(u, ")")), ju.closeMessageBox(), Pu.showMask(), $(".photo").addClass("active"), $(".resolution_after").html(t.width + "*" + t.height), $(".resolution_before").html(Fu.uploadFile.image.width + "*" + Fu.uploadFile.image.height),
3088
  function(e) {
3089
  $(".scale_num").removeClass("active").eq(e / 2 - 1).addClass("active"), $(".scale_change").attr("checked", !1), $("#" + $(".scale_num").eq(e / 2 - 1).html().toUpperCase()).click()
3090
- }(Fu.magnification), is(t), !Fu.first && (3e3 < Fu.uploadFile.image.width * Fu.magnification || 3e3 < Fu.uploadFile.image.height * Fu.magnification) && (Fu.first = 1, ju.showMessageBox("alert", rs, !0))
3091
  }(n.url, e, o, i, a);
3092
  var t = new XMLHttpRequest;
3093
  t.open("HEAD", n.url, !1), t.send(null);
 
3087
  $(".right_img_show").attr("src", u), $(".left_img_show").attr("src", Fu.oldImageBlob), $(".old-preview").css("background-image", "url(".concat(Fu.oldImageBlob, ")")), $(".new-preview").css("background-image", "url(".concat(u, ")")), ju.closeMessageBox(), Pu.showMask(), $(".photo").addClass("active"), $(".resolution_after").html(t.width + "*" + t.height), $(".resolution_before").html(Fu.uploadFile.image.width + "*" + Fu.uploadFile.image.height),
3088
  function(e) {
3089
  $(".scale_num").removeClass("active").eq(e / 2 - 1).addClass("active"), $(".scale_change").attr("checked", !1), $("#" + $(".scale_num").eq(e / 2 - 1).html().toUpperCase()).click()
3090
+ }(Fu.magnification), is(t), !Fu.first && (999e3 < Fu.uploadFile.image.width * Fu.magnification || 999e3 < Fu.uploadFile.image.height * Fu.magnification) && (Fu.first = 1, ju.showMessageBox("alert", rs, !0))
3091
  }(n.url, e, o, i, a);
3092
  var t = new XMLHttpRequest;
3093
  t.open("HEAD", n.url, !1), t.send(null);