mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
Fix title on new notes..
This commit is contained in:
@@ -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