From 312616efe94bddf3f1c24001b5f3f67fc0b07b36 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Fri, 9 Jan 2015 17:27:54 +0000 Subject: use noty success not info when things go right Green is nicer. --- html/js/git-deps-graph.js | 2 +- html/js/noty.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'html') 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 += '

'; - 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); } -- cgit