From e2164469b91a9668d149d769b35b705ead563e34 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sun, 11 Jan 2015 15:40:19 +0000 Subject: fix bug in new data notification pluralization --- html/js/git-deps-graph.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html/js') diff --git a/html/js/git-deps-graph.coffee b/html/js/git-deps-graph.coffee index 84bbd83..47457d4 100644 --- a/html/js/git-deps-graph.coffee +++ b/html/js/git-deps-graph.coffee @@ -231,7 +231,7 @@ new_data_notification = (new_data) -> notification += "

#{new_nodes} new commit" notification += "s" unless new_nodes == 1 notification += "; #{new_deps} new " + - ((if new_nodes == 1 then "dependency" else "dependencies")) + (if new_deps == 1 then "dependency" else "dependencies") notification += "

" gdn.success notification -- cgit