1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 10:30:28 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {