From b3ef2abb846ed11a147e9fef1c2a06488f64693f Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 25 Apr 2016 16:06:10 +0200 Subject: [PATCH] fix jshint complain --- www/style/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/style/main.js b/www/style/main.js index 7fe78cc34..fa209cf7c 100644 --- a/www/style/main.js +++ b/www/style/main.js @@ -9,6 +9,9 @@ define([ // TODO consider adding support for less.js var $ = window.jQuery; + var $style = $('style').first(), + $edit = $('#edit'); + var module = window.APP = {}; var key; @@ -78,8 +81,6 @@ define([ // nope }; - var $style = $('style').first(), - $edit = $('#edit'); $edit.attr('href', '/text/'+ window.location.hash);