mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Fix spelling mistake on file preview pages
This commit is contained in:
parent
6267fe79d4
commit
28f79e5e2d
4 changed files with 4 additions and 3 deletions
|
@ -30,6 +30,7 @@
|
|||
- Prevented the page index data for parent pages from disappearing when a child page is edited (#98)
|
||||
- Fixed file uploading when the data storage directory not the current directory (#100)
|
||||
- Fixed pressing the edit button on pages that have a single quote in their name
|
||||
- Fixed a spelling mistake on the file preview page - I'm sure I fixed that before...!
|
||||
|
||||
## v0.12
|
||||
|
|
@ -3121,7 +3121,7 @@ register_module([
|
|||
switch($fileTypeDisplay)
|
||||
{
|
||||
case "image":
|
||||
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original demensions" : "Native size";
|
||||
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
|
||||
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
|
||||
break;
|
||||
}
|
|
@ -77,7 +77,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File\/' prefix.",
|
||||
"id": "feature-upload",
|
||||
"lastupdate": 1471882985,
|
||||
"lastupdate": 1471884248,
|
||||
"optional": false
|
||||
},
|
||||
{
|
|
@ -445,7 +445,7 @@ register_module([
|
|||
switch($fileTypeDisplay)
|
||||
{
|
||||
case "image":
|
||||
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original demensions" : "Native size";
|
||||
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
|
||||
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
|
||||
break;
|
||||
}
|
Loading…
Reference in a new issue