1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-01 02:18:02 +00:00

Fix mediatype Typo in excise.js (#8640)

This fixes the typo "mediatype" instead of "mediaType" causing a RSOE
This commit is contained in:
Simon Huber
2024-09-30 15:26:00 +02:00
committed by GitHub
parent bb462210c3
commit 96840b886f

View File

@@ -13,7 +13,7 @@ Text editor operation to excise the selection to a new tiddler
"use strict";
function isMarkdown(mediaType) {
return mediaType === 'text/markdown' || mediatype === 'text/x-markdown';
return mediaType === 'text/markdown' || mediaType === 'text/x-markdown';
}
exports["excise"] = function(event,operation) {