Skip to content

Commit 811913e

Browse files
committed
fix: typo getAttribute save was not a string
1 parent a05f857 commit 811913e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function addNewRules() {
264264
}
265265

266266
function save() {
267-
if (linkTag && linkTag.hasAttribute('document_id') && linkTag.getAttribute(save) != 'false') {
267+
if (linkTag && linkTag.hasAttribute('document_id') && linkTag.getAttribute('save') != 'false') {
268268
const onlyUnique = (value, index, self) => {
269269
return self.indexOf(value) === index;
270270
};

0 commit comments

Comments
 (0)