Commit 9334dd05 authored by Randall Leeds's avatar Randall Leeds

Fix toolbar notifications for count == 9

Fixes #820
parent 5f52a7d9
...@@ -83,7 +83,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin ...@@ -83,7 +83,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
switch switch
when count > 9 when count > 9
@notificationCounter.text('>9') @notificationCounter.text('>9')
when 0 < count < 9 when 0 < count <= 9
@notificationCounter.text("+#{count}") @notificationCounter.text("+#{count}")
else else
@notificationCounter.text('') @notificationCounter.text('')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment