DetGC commited on
Commit
f9771c8
·
verified ·
1 Parent(s): 80195a9

Update js_free-online-image-upscaler.js

Browse files
Files changed (1) hide show
  1. js_free-online-image-upscaler.js +17 -7
js_free-online-image-upscaler.js CHANGED
@@ -3283,13 +3283,23 @@
3283
  }
3284
  as.requestDeal(t, Fu.imageMd5, Fu.sign)
3285
  }), $(".photo .close").click(function() {
3286
- $(".photo").removeClass("active"), $(".mask").hide(), document.documentElement.style.overflowY = "auto"
3287
- }), $(".saveBtn").click(function() {
3288
- var e = document.createElement("a");
3289
- e.setAttribute("download", ""), e.setAttribute("href", Fu.saveImage), e.click()
3290
- }), $(".reloadImg").click(function() {
3291
- $("#upload").trigger("click")
3292
- }), $(".tab_img").click(function() {
 
 
 
 
 
 
 
 
 
 
3293
  "flex" === $(".canvas_box .left").css("display") ? ($(".Original-box").toggle(), $(".canvas_box .left").toggle(), $(".canvas_box .right").css({
3294
  width: "100%"
3295
  }), $(this).attr("title", "Show Preview"), Fu.uploadFile.imageShowSizeRatio(Fu.resultImg), Fu.uploadFile.ratio < 1 ? $(".img_compare").css({
 
3283
  }
3284
  as.requestDeal(t, Fu.imageMd5, Fu.sign)
3285
  }), $(".photo .close").click(function() {
3286
+ $(".photo").removeClass("active"), $(".mask").hide(), document.documentElement.style.overflowY = "auto"
3287
+ }),
3288
+
3289
+ // modified
3290
+ $(".right_img_show").bind('change', function(event){
3291
+ console.log ("Line 3291");
3292
+ // alert($(".right_img_show").attr("src"));
3293
+ });
3294
+
3295
+ $(".saveBtn").click(function() {
3296
+ var e = document.createElement("a");
3297
+ e.setAttribute("download", ""), e.setAttribute("href", Fu.saveImage), e.click()
3298
+ }),
3299
+ $(".reloadImg").click(function() {
3300
+ $("#upload").trigger("click")
3301
+ }),
3302
+ $(".tab_img").click(function() {
3303
  "flex" === $(".canvas_box .left").css("display") ? ($(".Original-box").toggle(), $(".canvas_box .left").toggle(), $(".canvas_box .right").css({
3304
  width: "100%"
3305
  }), $(this).attr("title", "Show Preview"), Fu.uploadFile.imageShowSizeRatio(Fu.resultImg), Fu.uploadFile.ratio < 1 ? $(".img_compare").css({