summaryrefslogtreecommitdiff
path: root/js/api
diff options
context:
space:
mode:
authorjules <jules@okfoc.us>2014-02-01 12:32:20 -0500
committerjules <jules@okfoc.us>2014-02-01 12:32:20 -0500
commit023684efdf8983362fddef2a3aa36838b90dbf00 (patch)
treeca44f7a3d1e950eeae9242608945e038760e7df8 /js/api
parent41ea911a10df577e1bb340d996c627f74417e6f2 (diff)
fix w/h issue
Diffstat (limited to 'js/api')
-rw-r--r--js/api/gallery.js4
1 files changed, 2 insertions, 2 deletions
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()
}