change to use onready()

This commit is contained in:
Markerov 2015-01-02 17:13:29 +08:00 committed by czaks
parent 2f7127a3cb
commit 6363d8d247

View File

@ -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