Commit 80e4b5c8 authored by Pascal Hartig's avatar Pascal Hartig

Redirect addyosmani.github.com to todomvc.com

parent cbf939d8
......@@ -28,5 +28,12 @@
}
}
function redirect() {
if (location.hostname === 'addyosmani.github.com') {
location.hostname = 'todomvc.com';
}
}
appendSourceLink();
redirect();
})();
......@@ -35,6 +35,12 @@
});
};
function redirect() {
if (location.hostname === 'addyosmani.github.com') {
location.hostname = 'todomvc.com';
}
}
var Quotes = {};
Quotes.build = function (quotes, template) {
var quoteContainer = document.createElement('q'),
......@@ -132,6 +138,9 @@
});
};
// Redirect if not on main site.
redirect();
// Apps popover
$('.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