Node.js based forum software built for the modern web
renaming the notification window to 'alert_window'
Julian Lam64f320743a27
diff --git a/public/css/style.less b/public/css/style.lessindex 5da5d4be06..c3b0c611f8 100644--- a/public/css/style.less+++ b/public/css/style.less@@ -58,7 +58,7 @@ body {vertical-align: 10%;}-#notification_window {+#alert_window {position: fixed;right: 20px;top: 60px;diff --git a/public/src/app.js b/public/src/app.jsindex dbb39ecc45..efb08e8fd7 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -66,7 +66,7 @@ var socket,// title = bolded title text// message = alert message content// timeout default = permanent- // location : notification_window (default) or content+ // location : alert_window (default) or contentapp.alert = function(params) {var div = document.createElement('div'),button = document.createElement('button'),@@ -95,7 +95,7 @@ var socket,div.parentNode.removeChild(div);}- if (params.location == null) params.location = 'notification_window';+ if (params.location == null) params.location = 'alert_window';jQuery('#'+params.location).prepend(jQuery(div).fadeIn('100'));diff --git a/public/templates/header.tpl b/public/templates/header.tplindex 7775ec55a2..dccc0f05e6 100644--- a/public/templates/header.tpl+++ b/public/templates/header.tpl@@ -111,6 +111,6 @@</div></div>- <div id="notification_window"></div>+ <div id="alert_window"></div><div class="container" id="content">\ No newline at end of file