Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- setInterval(function() {
- $('img.imageClassUpdateAtInterval:not([src="/assets/spinner.gif"])').each(function() {
- $this = $(this);
- if (!$this.data('src')) {
- $this.data('src', $this.prop('src'));
- }
- $this.prop('src', $this.data('src') + '?timestamp=' + new Date().getTime());
- console.log($this.prop('src'));
- });
- }, 60 * 1000);
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement