diff options
| author | Jules <jules@asdf.us> | 2014-02-01 12:46:39 -0500 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2014-02-01 12:46:39 -0500 |
| commit | d9e55fe2ebd54da0e48567a61a2dbedea3ba2d24 (patch) | |
| tree | 4bf22b69fa113ef891518d374662d68eddd0f1cc | |
| parent | a947354668ca5f773d4586d36275abf09ae27631 (diff) | |
| parent | 42ad490303827327163a62aaa824d6ffc4af0016 (diff) | |
Merge branch 'master' of lmno:dither
| -rw-r--r-- | js/api/gallery.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/api/gallery.js b/js/api/gallery.js index 8cb738b..c83d5f6 100644 --- a/js/api/gallery.js +++ b/js/api/gallery.js @@ -53,8 +53,8 @@ function run_shader(shader_object){ console.log(shader_object) shader_id_root = shader_object.shader_id if ($("#persist-image:checked").length) { - var new_w = parseInt(shader_object.width,10) - var new_h = parseInt(shader_object.width,10) + var new_w = parseInt(shader_object.width, 10) + var new_h = parseInt(shader_object.height, 10) $("#url").val( shader_object.image_url ) if (new_w && new_h) { preserve_dimensions = true |
