fixes #2471: Bookmarklet: always show width/height

This commit is contained in:
r888888888
2016-02-17 16:49:44 -08:00
parent 403b918dab
commit d66d4dcee4

View File

@@ -128,6 +128,8 @@
$("#scale").html("Scaled " + parseInt(100 * ratio) + "% (original: " + origin_width + "x" + origin_height + ")");
}
});
} else {
$("#scale").html("(original: " + width + "x" + height + ")");
}
} else if (!this.tries || this.tries < 10) {
this.tries = (this.tries || 0) + 1;