Skip to content

Commit

Permalink
eslint build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deepansh96 committed Mar 19, 2024
1 parent ee238be commit 98733f6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/Editor/MathFieldPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@
</template>

<script>
// eslint-disable-next-line no-unused-vars
import { MathField } from 'mathlive';
import IconButton from "@/components/UI/Buttons/IconButton.vue";
export default {
name: "MathFieldPopup",
async created() {
if (mathVirtualKeyboard !== null) {
this.mathKeyboard = mathVirtualKeyboard;
}
// eslint-disable-next-line no-undef
if (mathVirtualKeyboard !== null) this.mathKeyboard = mathVirtualKeyboard;
},
props: {
Expand Down Expand Up @@ -149,11 +149,16 @@ export default {
this.hideMathField();
},
// eslint-disable-next-line no-unused-vars
inputEventListenerMathField(ev) {
},
// eslint-disable-next-line no-unused-vars
focusinEventListenerMathField(ev) {
window.mathVirtualKeyboard.show()
},
// eslint-disable-next-line no-unused-vars
focusoutEventListenerMathField(ev) {
window.mathVirtualKeyboard.hide()
},
Expand Down

0 comments on commit 98733f6

Please sign in to comment.