mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Open links in another tab..
This commit is contained in:
@@ -220,6 +220,7 @@ View.prototype = {
|
|||||||
|
|
||||||
var autolist = new AutoList();
|
var autolist = new AutoList();
|
||||||
var editor = new MediumEditor(modalcontent, {
|
var editor = new MediumEditor(modalcontent, {
|
||||||
|
targetBlank: true,
|
||||||
toolbar: {
|
toolbar: {
|
||||||
buttons: [
|
buttons: [
|
||||||
'bold',
|
'bold',
|
||||||
@@ -477,6 +478,11 @@ View.prototype = {
|
|||||||
self.editNote(id);
|
self.editNote(id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Doesn't show modal dialog when opening link
|
||||||
|
$("#app-content").on("click", ".note-grid-item a", function (event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
});
|
||||||
|
|
||||||
// Cancel when click outside the modal.
|
// Cancel when click outside the modal.
|
||||||
$('#app-content').on('click', '.modal-note-background', function (event) {
|
$('#app-content').on('click', '.modal-note-background', function (event) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|||||||
Reference in New Issue
Block a user