From e07df091293978016d47f0d0141e2a03247b1c16 Mon Sep 17 00:00:00 2001 From: Felix Wu Date: Tue, 21 Aug 2018 16:16:12 +0200 Subject: [PATCH] CRC --- src/data/presets.js | 2 +- src/extensions/abcExtension.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/data/presets.js b/src/data/presets.js index 7a60a04a..b37095c5 100644 --- a/src/data/presets.js +++ b/src/data/presets.js @@ -28,7 +28,7 @@ const zero = { See https://abcjs.net/ */ abc: { - enabled: true, + enabled: false, }, /* Katex extension diff --git a/src/extensions/abcExtension.js b/src/extensions/abcExtension.js index 0caa2288..1809ba5b 100644 --- a/src/extensions/abcExtension.js +++ b/src/extensions/abcExtension.js @@ -3,8 +3,7 @@ import extensionSvc from '../services/extensionSvc'; const render = (elt) => { const abcContent = elt.textContent; - elt.parentNode.parentNode.id = 'abcSheetPaper'; - abcjs.renderAbc('abcSheetPaper', abcContent, {}); + abcjs.renderAbc(elt.parentNode.parentNode, abcContent, {}); }; extensionSvc.onGetOptions((options, properties) => {