Commit 0b1d425a authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #21347 -- Added missing JS variable declaration.

Thanks szymon.barglowski at gmail.com for the report.
parent 9fde42a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ js_catalog_template = r"""
  };

  django.ngettext = function (singular, plural, count) {
    value = django.catalog[singular];
    var value = django.catalog[singular];
    if (typeof(value) == 'undefined') {
      return (count == 1) ? singular : plural;
    } else {