From 023684efdf8983362fddef2a3aa36838b90dbf00 Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 1 Feb 2014 12:32:20 -0500 Subject: fix w/h issue --- js/api/gallery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/api') diff --git a/js/api/gallery.js b/js/api/gallery.js index ae50dc9..8cb738b 100644 --- a/js/api/gallery.js +++ b/js/api/gallery.js @@ -58,8 +58,8 @@ function run_shader(shader_object){ $("#url").val( shader_object.image_url ) if (new_w && new_h) { preserve_dimensions = true - w = new_w - h = new_h + actual_w = w = new_w + actual_h = h = new_h } load() } -- cgit v1.2.3-70-g09d2