Skip to content

Commit

Permalink
adds a delay to forward
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandStuder committed Jan 30, 2017
1 parent d66b0a2 commit fe71d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forwarder.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (Meteor.isClient) {
before: function(){
var url = Urls.findOne().url;
if (!(typeof url == "undefined")) {
window.location.replace(url);
setTimeout(function() { window.location.replace(url); }, 2000);
}
else {
document.write("No forward url defined defined");
Expand Down

0 comments on commit fe71d73

Please sign in to comment.