]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/index.js
Add error messages, fix LDAP error
[bookstack] / resources / assets / js / index.js
index c23615a88ef8849ebf9177d6b3016fa36b813686..e0c7b34e5a85d5c22e57236c04346c95b7041a38 100644 (file)
@@ -16,7 +16,7 @@ window.$events = eventManager;
 // Translation setup
 // Creates a global function with name 'trans' to be used in the same way as Laravel's translation system
 import Translations from "./services/translations"
-const translator = new Translations(window.translations);
+const translator = new Translations();
 window.trans = translator.get.bind(translator);
 window.trans_choice = translator.getPlural.bind(translator);