mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-08-01 16:38:56 +00:00
Allow format="jpg" as well as the more technically correct "jpeg"
This commit is contained in:
@@ -36,6 +36,8 @@ exports.startup = function() {
|
||||
var method = "toPng";
|
||||
switch(params.format) {
|
||||
case "jpeg":
|
||||
// Intentional fallthrough
|
||||
case "jpg":
|
||||
method = "toJpeg";
|
||||
break;
|
||||
case "svg":
|
||||
|
||||
Reference in New Issue
Block a user