1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-08 19:56:39 +00:00

Fix mediatype Typo in excise.js

This fixes the typo "mediatype" instead of "mediaType" causing a RSOE
This commit is contained in:
Simon Huber 2024-09-27 17:42:24 +02:00 committed by GitHub
parent bb75560922
commit 33a132970c
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) {