aboutsummaryrefslogtreecommitdiffstats
path: root/html/js/git-deps-graph.coffee
diff options
context:
space:
mode:
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