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