From: Scott Worley Date: Thu, 27 Feb 2014 01:52:43 +0000 (-0800) Subject: Move exposure to a variable X-Git-Url: http://git.scottworley.com/picsort/commitdiff_plain/73f54bcce477142814590333a06fffb010fcb0f6?ds=inline Move exposure to a variable --- diff --git a/picsorter.js b/picsorter.js index ff1db27..9923d38 100644 --- a/picsorter.js +++ b/picsorter.js @@ -1,3 +1,5 @@ +var exposure = 20; + $( document ).ready(function() { - $("#pic")[0].src = "20/" + files[0]; + $("#pic")[0].src = exposure + "/" + files[0]; });