1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00

Merge pull request #333 from marktaiwan/catalog-search

change catalog-search.js to use onready()
This commit is contained in:
Fredrick Brennan 2015-01-22 16:49:37 +08:00
commit d7df2abb53

View File

@ -8,7 +8,7 @@
* $config['additional_javascript'][] = 'js/comment-toolbar.js'; * $config['additional_javascript'][] = 'js/comment-toolbar.js';
*/ */
if (active_page == 'catalog') { if (active_page == 'catalog') {
$(document).ready(function () { onready(function () {
'use strict'; 'use strict';
// 'true' = enable shortcuts // 'true' = enable shortcuts