summaryrefslogtreecommitdiff
path: root/static/js/register.js
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2014-05-14 12:02:39 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2014-05-14 12:02:39 -0400
commit101c0be26573b6cc20a8542d378592fd0eec2ba5 (patch)
tree98a17d4ff252b4c5c3937eb16db1c10d63a142ce /static/js/register.js
parent7a62c03ebe5c36a47274d170ce8c39957cdf437c (diff)
scripts to fix redis when it crashes
Diffstat (limited to 'static/js/register.js')
-rwxr-xr-xstatic/js/register.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/static/js/register.js b/static/js/register.js
index ff93b0b..d2d513d 100755
--- a/static/js/register.js
+++ b/static/js/register.js
@@ -31,10 +31,10 @@ function submitRegistration() {
if (typeof pageTracker !== 'undefined') {
pageTracker._trackEvent('User', 'Register', nick);
}
- if (window.history && history.length > 1)
- history.go(-1);
- else
- location.href = 'http://dump.fm/';
+ // if (window.history && history.length > 1)
+ // history.go(-1);
+ // else
+ window.location.href = 'http://dump.fm/';
};
var onError = function(resp) {