From c7f3f1db464dfcb459eca824015f4aac14403773 Mon Sep 17 00:00:00 2001 From: ozhozh Date: Sun, 27 Sep 2009 18:20:59 +0000 Subject: [PATCH] Fixes issue 99, again. git-svn-id: http://yourls.googlecode.com/svn/trunk@210 12232710-3e20-11de-b438-597f59cd7555 --- js/insert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/insert.js b/js/insert.js index e11525c..f2c13aa 100644 --- a/js/insert.js +++ b/js/insert.js @@ -8,7 +8,7 @@ $(document).ready(function(){ var order_by = {'asc':0, 'desc':1}; var s_by = order[query_string('s_by')]; var s_order = order_by[query_string('s_order')]; - if( !s_by) { + if( s_by == undefined ) { s_by = 2; s_order = 1; } -- 2.45.0