mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 23:55:59 +08:00
fix saving images from web clipper, closes #2249
This commit is contained in:
parent
50b7063811
commit
af40d73cee
|
@ -15,7 +15,7 @@ const htmlSanitizer = require('../../services/html_sanitizer');
|
||||||
const {formatAttrForSearch} = require("../../services/attribute_formatter");
|
const {formatAttrForSearch} = require("../../services/attribute_formatter");
|
||||||
|
|
||||||
function findClippingNote(todayNote, pageUrl) {
|
function findClippingNote(todayNote, pageUrl) {
|
||||||
const notes = todayNote.searchNoteInSubtree(
|
const notes = todayNote.searchNotesInSubtree(
|
||||||
formatAttrForSearch({
|
formatAttrForSearch({
|
||||||
type: 'label',
|
type: 'label',
|
||||||
name: "pageUrl",
|
name: "pageUrl",
|
||||||
|
|
Loading…
Reference in a new issue