mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-08 23:39:46 +01:00
live-index.js: trim
This commit is contained in:
parent
6a0c1b94b7
commit
289c137b2d
@ -1,16 +1,16 @@
|
|||||||
/*
|
/*
|
||||||
* live-index.js
|
* live-index.js
|
||||||
* https://github.com/vichan-devel/Tinyboard/blob/master/js/live-index.js
|
* https://github.com/vichan-devel/Tinyboard/blob/master/js/live-index.js
|
||||||
*
|
*
|
||||||
* Released under the MIT license
|
* Released under the MIT license
|
||||||
* Copyright (c) 2014 Marcin Łabanowski <marcin@6irc.net>
|
* Copyright (c) 2014 Marcin Łabanowski <marcin@6irc.net>
|
||||||
*
|
*
|
||||||
* Usage:
|
* Usage:
|
||||||
* $config['api']['enabled'] = true;
|
* $config['api']['enabled'] = true;
|
||||||
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
* $config['additional_javascript'][] = 'js/jquery.min.js';
|
||||||
* $config['additional_javascript'][] = 'js/expand.js';
|
* $config['additional_javascript'][] = 'js/expand.js';
|
||||||
* $config['additional_javascript'][] = 'js/live-index.js';
|
* $config['additional_javascript'][] = 'js/live-index.js';
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (active_page == 'index' && (""+document.location).match(/\/(index\.html)?(\?|$|#)/))
|
if (active_page == 'index' && (""+document.location).match(/\/(index\.html)?(\?|$|#)/))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user