Skip to content

Commit 6ac0c2e

Browse files
committed
allow image rotate on document media type
1 parent 20b7611 commit 6ac0c2e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.4.0-20260610
1+
5.4.0-20260611

js/media/details.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OB.MediaDetails.page = function (id) {
1414
var item = response.data;
1515
var used = response.data.where_used.used;
1616

17-
if (item?.type == "image") {
17+
if (item?.type == "image" || item?.type == "document") {
1818
OB.API.post("media", "get_properties", { id: id }, function (propertiesResponse) {
1919
const properties = propertiesResponse.data;
2020

0 commit comments

Comments
 (0)