diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-05-14 12:02:39 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-05-14 12:02:39 -0400 |
| commit | 101c0be26573b6cc20a8542d378592fd0eec2ba5 (patch) | |
| tree | 98a17d4ff252b4c5c3937eb16db1c10d63a142ce /static/js/src/fun.js | |
| parent | 7a62c03ebe5c36a47274d170ce8c39957cdf437c (diff) | |
scripts to fix redis when it crashes
Diffstat (limited to 'static/js/src/fun.js')
| -rw-r--r-- | static/js/src/fun.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/js/src/fun.js b/static/js/src/fun.js index 1188678..c57a774 100644 --- a/static/js/src/fun.js +++ b/static/js/src/fun.js @@ -108,3 +108,13 @@ function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } + +$(function(){ + var d = new Date() + var mon = (d.getMonth()+1) + var day = d.getDate() + mon = mon < 10 ? "0" + mon : mon + day = day < 10 ? "0" + day : day + $("#hall-link").attr("href", "/top/" + (d.getFullYear()) + "" + mon + day) +}) + |
