0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-10 00:58:40 +00:00

lint pass

This commit is contained in:
Víctor Losada Hernández
2026-04-15 10:28:28 +02:00
parent 44d2f6c548
commit 98749ed3e0
4 changed files with 7 additions and 7 deletions
@@ -51,7 +51,7 @@ const emojiCompletionList = (context)=>{
return { return {
from : word.from + 1, from : word.from + 1,
options, options,
filter: false, filter : false,
}; };
}; };
+1 -1
View File
@@ -87,7 +87,7 @@ const Editor = createReactClass({
componentDidMount : function() { componentDidMount : function() {
const brewRenderer = document.getElementById('BrewRenderer'); const brewRenderer = document.getElementById('BrewRenderer');
brewRenderer.onload = () => brewRenderer.contentDocument?.addEventListener('keydown', this.handleControlKeys); brewRenderer.onload = ()=>brewRenderer.contentDocument?.addEventListener('keydown', this.handleControlKeys);
document.addEventListener('keydown', this.handleControlKeys); document.addEventListener('keydown', this.handleControlKeys);
const editorTheme = window.localStorage.getItem(EDITOR_THEME_KEY); const editorTheme = window.localStorage.getItem(EDITOR_THEME_KEY);