1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00
This commit is contained in:
Michael Save 2012-03-15 05:04:08 +11:00
parent 8e101ab956
commit 70e7840566

View File

@ -1,21 +0,0 @@
/*
* banner-reload-helper.js
* https://github.com/savetheinternet/Tinyboard-Tools/blob/master/js/banner-reload-helper.js
*
* For 4chon.
*
* Released under the MIT license
* Copyright (c) 2012 Michael Save <savetheinternet@tinyboard.org>
*
* Usage:
* $config['additional_javascript'][] = $config['root'] . 'banner-reload-helper.js';
*
*/
$(document).ready(function(){
var img = document.getElementsByTagName('img')[0];
if(img.className != 'banner')
return;
img.src = img.src + '?' + new Date().getTime();
});