This commit is contained in:
Jaime Pillora
2014-06-29 01:05:13 +10:00
parent 2f88823b00
commit 3e98e714c6
2 changed files with 12 additions and 7 deletions
+2
View File
@@ -974,12 +974,14 @@ PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\
$(document).on('click', '.notifyjs-gswg-base button', function() { $(document).on('click', '.notifyjs-gswg-base button', function() {
return $(this).trigger('notify-hide'); return $(this).trigger('notify-hide');
}); });
return setTimeout(function() {
return $.notify("http://gswg.io", { return $.notify("http://gswg.io", {
position: 'b r', position: 'b r',
style: 'gswg', style: 'gswg',
autoHide: false, autoHide: false,
clickToHide: false clickToHide: false
}); });
}, 15 * 1000);
}; };
App = App || {}; App = App || {};
+3
View File
@@ -59,7 +59,10 @@ App.codeRunner = ->
$(document).on 'click', '.notifyjs-gswg-base button', -> $(document).on 'click', '.notifyjs-gswg-base button', ->
$(this).trigger('notify-hide') $(this).trigger('notify-hide')
setTimeout ->
$.notify("http://gswg.io", {position:'b r', style: 'gswg', autoHide: false, clickToHide: false}) $.notify("http://gswg.io", {position:'b r', style: 'gswg', autoHide: false, clickToHide: false})
, 15*1000