From 6363d8d24721d1c3138cf3d1574f6795efe91c91 Mon Sep 17 00:00:00 2001 From: Markerov Date: Fri, 2 Jan 2015 17:13:29 +0800 Subject: [PATCH] change to use onready() --- js/catalog-search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/catalog-search.js b/js/catalog-search.js index 97121e3b..17a8edac 100644 --- a/js/catalog-search.js +++ b/js/catalog-search.js @@ -8,7 +8,7 @@ * $config['additional_javascript'][] = 'js/comment-toolbar.js'; */ if (active_page == 'catalog') { - $(document).ready(function () { + onready(function () { 'use strict'; // 'true' = enable shortcuts