aboutsummaryrefslogtreecommitdiffstats
path: root/html/js/git-deps-graph.coffee
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-11 15:40:19 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-11 15:40:19 +0000
commite2164469b91a9668d149d769b35b705ead563e34 (patch)
treef3ccb26103ae1167d144a1a14b5c34f9cbe3af84 /html/js/git-deps-graph.coffee
parent17359971ad244262ba513769708086cb9ec13941 (diff)
downloadgit-deps-e2164469b91a9668d149d769b35b705ead563e34.tar.gz
fix bug in new data notification pluralization
Diffstat (limited to 'html/js/git-deps-graph.coffee')
-rw-r--r--html/js/git-deps-graph.coffee2
1 files changed, 1 insertions, 1 deletions
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 += "<p>#{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 += "</p>"
gdn.success notification