mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 19:51:57 +08:00
refac: better naming
This commit is contained in:
parent
5fca606730
commit
977399a73e
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ const Attribute = require('../../becca/entities/attribute');
|
|||
const htmlSanitizer = require('../../services/html_sanitizer');
|
||||
const {formatAttrForSearch} = require("../../services/attribute_formatter");
|
||||
|
||||
function findClippingNote(todayNote, pageUrl) {
|
||||
const notes = todayNote.searchNotesInSubtree(
|
||||
function findClippingNote(clipperInboxNote, pageUrl) {
|
||||
const notes = clipperInboxNote.searchNotesInSubtree(
|
||||
formatAttrForSearch({
|
||||
type: 'label',
|
||||
name: "pageUrl",
|
||||
|
|
Loading…
Reference in a new issue