projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdf97d
)
domains/forbes.com.js
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 07:44:37 +0000
(15:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 07:44:37 +0000
(15:44 +0800)
domains/forbes.com.js
patch
|
blob
|
history
diff --git
a/domains/forbes.com.js
b/domains/forbes.com.js
index
d29519d
..
087290a
100644
(file)
--- a/
domains/forbes.com.js
+++ b/
domains/forbes.com.js
@@
-15,13
+15,16
@@
return null;
}
var c = readCookie('forbesUtilCookie');
- window.setTimeout(function() {
+
var cfg =JSON.parse(c.replace(/'/g,'"'))
console.log(c);
if (c && window.pathname.match(/forbes\/welcome/) && cfg.toURL) {
-
- window.location = cfg.toURL
+ console.log('firing redirect');
+ window.setTimeout(function() {
+ window.location = cfg.toURL;
+ }, 3000);
+
}