X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/5d9946cb30cde87c19d290b6f31c73646e6655dc..5b0253be97ed5970156f3a9ca58960f29e55da0b:/picsorter.js?ds=inline diff --git a/picsorter.js b/picsorter.js index 9a1b1c1..c51b51e 100644 --- a/picsorter.js +++ b/picsorter.js @@ -1,7 +1,7 @@ var exposure = 20; function setpic(pic) { - $("#pic")[0].src = exposure + "/" + pic; + $("#pic").attr("src", exposure + "/" + pic); } $(function() {