frontend/js/components/dialog.js in trestle-0.9.0 vs frontend/js/components/dialog.js in trestle-0.9.1
- old
+ new
@@ -13,10 +13,13 @@
`
function createElement () {
const $el = $(TEMPLATE).appendTo('body')
- $el.modal({ show: false })
+ $el.modal({
+ show: false,
+ focus: false
+ })
// Remove dialog elements once hidden
$el.on('hidden.bs.modal', function () {
$el.remove()
})