diff --git a/docs/js/app.js b/docs/js/app.js index ffc54b2..fda1ff8 100644 --- a/docs/js/app.js +++ b/docs/js/app.js @@ -974,12 +974,14 @@ PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\ $(document).on('click', '.notifyjs-gswg-base button', function() { return $(this).trigger('notify-hide'); }); - return $.notify("http://gswg.io", { - position: 'b r', - style: 'gswg', - autoHide: false, - clickToHide: false - }); + return setTimeout(function() { + return $.notify("http://gswg.io", { + position: 'b r', + style: 'gswg', + autoHide: false, + clickToHide: false + }); + }, 15 * 1000); }; App = App || {}; diff --git a/docs/src/scripts/code-runner.coffee b/docs/src/scripts/code-runner.coffee index f1e94df..f568906 100644 --- a/docs/src/scripts/code-runner.coffee +++ b/docs/src/scripts/code-runner.coffee @@ -59,7 +59,10 @@ App.codeRunner = -> $(document).on 'click', '.notifyjs-gswg-base button', -> $(this).trigger('notify-hide') - $.notify("http://gswg.io", {position:'b r', style: 'gswg', autoHide: false, clickToHide: false}) + setTimeout -> + $.notify("http://gswg.io", {position:'b r', style: 'gswg', autoHide: false, clickToHide: false}) + , 15*1000 +