mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-27 04:28:21 +01:00
9 lines
244 B
JavaScript
9 lines
244 B
JavaScript
|
const supportsSvg = function () {
|
||
|
return Boolean(document.createElementNS && document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect)
|
||
|
}
|
||
|
|
||
|
if (!supportsSvg()) {
|
||
|
window.location = './browser-not-supported.html'
|
||
|
}
|
||
|
export {}
|