mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-07 23:21:28 +01:00
Call on ready, dont pollute window namespace with vars
This commit is contained in:
parent
98209fc806
commit
4208c16f61
@ -1,3 +1,5 @@
|
|||||||
|
if (active_page == 'thread' || active_page == 'index') {
|
||||||
|
$(document).ready(function(){
|
||||||
$.hash = function(str) {
|
$.hash = function(str) {
|
||||||
var i, j, msg = 0;
|
var i, j, msg = 0;
|
||||||
|
|
||||||
@ -31,4 +33,5 @@ $(".poster_id").each(function(){
|
|||||||
"color": "white"
|
"color": "white"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user