aboutsummaryrefslogtreecommitdiffstats
path: root/html/js
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-09 17:27:54 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-09 17:28:55 +0000
commit312616efe94bddf3f1c24001b5f3f67fc0b07b36 (patch)
treea5de2dbb3c6c0433c01c3535bfdc4c58e48b96fe /html/js
parent5577fcadd8ad9e2dfc7528af0a09f8c6ef616118 (diff)
downloadgit-deps-312616efe94bddf3f1c24001b5f3f67fc0b07b36.tar.gz
use noty success not info when things go right
Green is nicer.
Diffstat (limited to 'html/js')
-rw-r--r--html/js/git-deps-graph.js2
-rw-r--r--html/js/noty.js4
2 files changed, 5 insertions, 1 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index 88c1f30..2c8c0e8 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -334,7 +334,7 @@ function new_data_notification(new_data) {
notification += 's';
notification += '</p>';
- noty_info(notification);
+ noty_success(notification);
}
function define_arrow_markers(fg) {
diff --git a/html/js/noty.js b/html/js/noty.js
index a92db89..8ee7f31 100644
--- a/html/js/noty.js
+++ b/html/js/noty.js
@@ -8,6 +8,10 @@ function noty_warn(text) {
notyfication('warning', text);
}
+function noty_success(text) {
+ notyfication('success', text);
+}
+
function noty_info(text) {
notyfication('information', text);
}