projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c782f65
)
domains/forbes.com.js
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 07:48:38 +0000
(15:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 07:48:38 +0000
(15:48 +0800)
domains/forbes.com.js
patch
|
blob
|
history
diff --git
a/domains/forbes.com.js
b/domains/forbes.com.js
index
2065f3a
..
4fedb69
100644
(file)
--- a/
domains/forbes.com.js
+++ b/
domains/forbes.com.js
@@
-19,7
+19,7
@@
window.setTimeout(function () {
var cfg =JSON.parse(c.replace(/'/g,'"'))
console.log(c);
- if (c &&
document
.location.pathname.match(/forbes\/welcome/) && cfg.toURL) {
+ if (c &&
window
.location.pathname.match(/forbes\/welcome/) && cfg.toURL) {
console.log('firing redirect');
window.setTimeout(function() {
window.location = cfg.toURL;