diff --git a/assets/javascripts/models/entry.coffee b/assets/javascripts/models/entry.coffee index 1eb179c6..1a529181 100644 --- a/assets/javascripts/models/entry.coffee +++ b/assets/javascripts/models/entry.coffee @@ -12,7 +12,7 @@ class app.models.Entry extends app.Model @name .toLowerCase() .replace '...', ' ' - .replace ' event', '' + .replace /\ event$/, '' .replace SEPARATORS_REGEXP, '.' .replace /\.+/g, '.' .replace PARANTHESES_REGEXP, ''