Preview refactoring
This commit is contained in:
1 parent
5f751d927b
commit
e52047b5cd
3 files changed
+110
-58
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<template lang="pug">
|
||||
.modal.fade.in.background-darken(ref='modal', style="display:block", tabindex='-1', role='dialog', @click.self='close()', @keyup.esc='close()')
|
||||
.modal.fade.in.background-darken(ref='modal', style="display:block", tabindex='-1', role='dialog', @click.self='close()', @keyup.esc='close()', @keyup.left="$emit('prev')", @keyup.right="$emit('next')")
|
||||
.modal-dialog.modal-fluid(role='document')
|
||||
.modal-content
|
||||
.modal-header(v-if='hasHeader')
|
||||
@@ -26,11 +26,6 @@
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.$nextTick(function() {
|
||||
this.$refs.modal.focus();
|
||||
|
||||
Reference in new issue
Block a user