mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 20:25:32 +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) {
|
||||
var i, j, msg = 0;
|
||||
|
||||
@ -31,4 +33,5 @@ $(".poster_id").each(function(){
|
||||
"color": "white"
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user