mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Fix title on new notes..
This commit is contained in:
1 parent
6bac24030d
commit
ffda338e29
1 file changed
+1
-5
+1
-5
@@ -13,10 +13,6 @@
|
|||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
var translations = {
|
|
||||||
newNote: $('#new-note-string').text()
|
|
||||||
};
|
|
||||||
|
|
||||||
// this notes object holds all our notes
|
// this notes object holds all our notes
|
||||||
var Notes = function (baseUrl) {
|
var Notes = function (baseUrl) {
|
||||||
this._baseUrl = baseUrl;
|
this._baseUrl = baseUrl;
|
||||||
@@ -551,7 +547,7 @@ View.prototype = {
|
|||||||
var self = this;
|
var self = this;
|
||||||
$('#new-note').click(function () {
|
$('#new-note').click(function () {
|
||||||
var note = {
|
var note = {
|
||||||
title: translations.newNote,
|
title: t('quicknotes', 'New note'),
|
||||||
content: '',
|
content: '',
|
||||||
color: '#F7EB96'
|
color: '#F7EB96'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user