X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/73f54bcce477142814590333a06fffb010fcb0f6..97c26a9cc9e8bda3e572eebeadf6a3beb8788e4b:/picsorter.js?ds=inline diff --git a/picsorter.js b/picsorter.js index 9923d38..8c4f167 100644 --- a/picsorter.js +++ b/picsorter.js @@ -1,5 +1,9 @@ var exposure = 20; +function setpic(pic) { + $("#pic")[0].src = exposure + "/" + pic; +} + $( document ).ready(function() { - $("#pic")[0].src = exposure + "/" + files[0]; + setpic(files[0]); });