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