From c928e3ea505a32badee23b8883727ad45ad62a53 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sat, 21 Feb 2015 17:31:52 -0500 Subject: wav files should not autoplay --- static/js/pichat.js | 12 ++++-------- static/js/register.js | 2 +- static/js/src/text.js | 6 ++++-- template/banner.st | 3 +++ 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/static/js/pichat.js b/static/js/pichat.js index c897d91..488aa88 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -2213,8 +2213,10 @@ function linkReplace(url) { return "" + "" + "" - } else if (type == 'midi' || type == 'wav') { - return ' '+uri.file+'' + } else if (type == 'midi') { + return ' '+uri.file+'' + } else if (type == 'wav') { + return ' '+uri.file+'' } else return "" + url + ""; @@ -2433,9 +2435,3 @@ Youtube = { }, } - - -try { -if (Nick == "aids_enoch" && Room != "elephants") window.location.href ="http://elephants.dump.fm/" -} -catch(e){} diff --git a/static/js/register.js b/static/js/register.js index 4352c19..91377e4 100755 --- a/static/js/register.js +++ b/static/js/register.js @@ -74,7 +74,7 @@ function hasLocalStorage() { function initRegister() { var date = new Date () - var open_reg = false || ! ('LoggedIn' in window) + var open_reg = true || ! ('LoggedIn' in window) if (hasLocalStorage() && localStorage.is_banned == "true") { $('.regopen').remove() $('.log-in').remove() diff --git a/static/js/src/text.js b/static/js/src/text.js index 9420ba0..773eed4 100644 --- a/static/js/src/text.js +++ b/static/js/src/text.js @@ -120,8 +120,10 @@ function linkReplace(url) { return "" + "" + "" - } else if (type == 'midi' || type == 'wav') { - return ' '+uri.file+'' + } else if (type == 'midi') { + return ' '+uri.file+'' + } else if (type == 'wav') { + return ' '+uri.file+'' } else return "" + url + ""; diff --git a/template/banner.st b/template/banner.st index 5cca522..b837a42 100644 --- a/template/banner.st +++ b/template/banner.st @@ -76,7 +76,10 @@ $if(user_nick)$ checkout dump.fm in full-screen - MYSTERY ROOM!!!!!!!! + + DUMP.FM 5 YEAR PARTY - RSVP TODAY!!!!! $else$ $endif$ $if(isadmin)$ - NAUGHTY GIRLS/AND-OR/BOYS DELIGHT $endif$ -- cgit v1.2.3-70-g09d2