From ffda338e2927d47a73be6494238d98eea87ec598 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Tue, 12 Feb 2019 14:12:09 -0300 Subject: [PATCH] Fix title on new notes.. --- js/script.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/script.js b/js/script.js index ba6bfaa..bbb72bc 100644 --- a/js/script.js +++ b/js/script.js @@ -13,10 +13,6 @@ $(document).ready(function () { -var translations = { - newNote: $('#new-note-string').text() -}; - // this notes object holds all our notes var Notes = function (baseUrl) { this._baseUrl = baseUrl; @@ -551,7 +547,7 @@ View.prototype = { var self = this; $('#new-note').click(function () { var note = { - title: translations.newNote, + title: t('quicknotes', 'New note'), content: '', color: '#F7EB96' };