Browse Source

Call on ready, dont pollute window namespace with vars

pull/40/head
8chan 10 years ago
committed by czaks
parent
commit
035f8437ab
  1. 5
      js/id_colors.js

5
js/id_colors.js

@ -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…
Cancel
Save