Commit 94ebc4e0 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Remove unnecessary redirect

This was used to redirect people from the old `addyosmani.github.io`
domain to `todomvc.com`, which is not needed anymore since that site
isn't online there anymore.
parent e0555058
...@@ -43,12 +43,6 @@ ...@@ -43,12 +43,6 @@
}); });
}; };
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
}
}
var Quotes = {}; var Quotes = {};
Quotes.build = function (quotes, template) { Quotes.build = function (quotes, template) {
var quoteContainer = document.createElement('q'); var quoteContainer = document.createElement('q');
...@@ -146,9 +140,6 @@ ...@@ -146,9 +140,6 @@
}); });
}; };
// Redirect if not on main site.
redirect();
// Apps popover // Apps popover
$('.applist a').persistantPopover(); $('.applist a').persistantPopover();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment