Call on ready, dont pollute window namespace with vars
This commit is contained in:
parent
c3ba4cc7ef
commit
035f8437ab
@ -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…
Reference in New Issue
Block a user