diff --git a/sortt.js b/sortt.js index cd3c2fb..aa7c8d7 100644 --- a/sortt.js +++ b/sortt.js @@ -97,8 +97,8 @@ if(!window.jQuery) { //add onclick event $(this).on('click', function() { - sortt(data[0],data[1],data[2]); - }); + sortt(data[0],data[1],data[2]); + }); //add arrow to colume var arrow = getArrow(data[0],data[1],data[2]);