From 5d9946cb30cde87c19d290b6f31c73646e6655dc Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 26 Feb 2014 17:56:18 -0800 Subject: [PATCH] Use the ready shorthand --- picsorter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picsorter.js b/picsorter.js index 8c4f167..9a1b1c1 100644 --- a/picsorter.js +++ b/picsorter.js @@ -4,6 +4,6 @@ function setpic(pic) { $("#pic")[0].src = exposure + "/" + pic; } -$( document ).ready(function() { +$(function() { setpic(files[0]); }); -- 2.44.1