DeviceType: Difference between revisions
From OSE
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | |||
// Document is ready | |||
function getDeviceType() { | function getDeviceType() { | ||
const userAgent = navigator.userAgent.toLowerCase(); | const userAgent = navigator.userAgent.toLowerCase(); | ||
Line 22: | Line 26: | ||
document.write("{{#widget:Iframe|url=https://bnbforms.com/103014/|width=300|height=700|border=0}}"); | document.write("{{#widget:Iframe|url=https://bnbforms.com/103014/|width=300|height=700|border=0}}"); | ||
} | } | ||
}); | |||
</script> | </script> | ||
</includeonly> | </includeonly> |