preventDefault on clicks, in preview

This commit is contained in:
Michael Shanks 2020-06-09 11:44:33 +01:00
parent eea966a6ae
commit dc8c22e018
1 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,11 @@ export default `<html>
let styles let styles
let selectedComponentStyle let selectedComponentStyle
document.addEventListener("click", function(e) {
e.preventDefault()
e.stopPropagation()
return false;
}, true)
import('/_builder/budibase-client.esm.mjs') import('/_builder/budibase-client.esm.mjs')
.then(module => { .then(module => {