diff options
author | Adam Spiers <git@adamspiers.org> | 2015-01-09 17:27:54 +0000 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2015-01-09 17:28:55 +0000 |
commit | 312616efe94bddf3f1c24001b5f3f67fc0b07b36 (patch) | |
tree | a5de2dbb3c6c0433c01c3535bfdc4c58e48b96fe /html/js | |
parent | 5577fcadd8ad9e2dfc7528af0a09f8c6ef616118 (diff) | |
download | git-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.js | 2 | ||||
-rw-r--r-- | html/js/noty.js | 4 |
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); } |