mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
add btn-wopilink button ; fix OpenWopiLink when options is null
This commit is contained in:
@@ -17,7 +17,7 @@ window.addEventListener('DOMContentLoaded', function (e) {
|
||||
wopiUrl: el.dataset.wopiUrl,
|
||||
title: el.dataset.docTitle,
|
||||
type: el.dataset.docType,
|
||||
button: el.dataset.button ? JSON.parse(el.dataset.button) : {}
|
||||
button: el.dataset.button !== 'null' ? JSON.parse(el.dataset.button) : {}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user