]> git.scottworley.com Git - picsort/commitdiff
Use the ready shorthand
authorScott Worley <scottworley@scottworley.com>
Thu, 27 Feb 2014 01:56:18 +0000 (17:56 -0800)
committerScott Worley <scottworley@scottworley.com>
Thu, 27 Feb 2014 01:56:18 +0000 (17:56 -0800)
picsorter.js

index 8c4f1670dd76f3c5db63c3f2ea496a502f295827..9a1b1c11b678be42e1ba71fb85ec69ec6a9686d0 100644 (file)
@@ -4,6 +4,6 @@ function setpic(pic) {
   $("#pic")[0].src = exposure + "/" + pic;
 }
 
-$( document ).ready(function() {
+$(function() {
   setpic(files[0]);
 });