start of mobile layout

This commit is contained in:
zadam
2020-03-01 11:04:42 +01:00
parent f64b343d8d
commit 4f744564f2
6 changed files with 199 additions and 233 deletions

View File

@@ -12,10 +12,12 @@ export default class Entrypoints extends Component {
constructor() {
super();
// hot keys are active also inside inputs and content editables
jQuery.hotkeys.options.filterInputAcceptingElements = false;
jQuery.hotkeys.options.filterContentEditable = false;
jQuery.hotkeys.options.filterTextInputs = false;
if (jQuery.hotkeys) {
// hot keys are active also inside inputs and content editables
jQuery.hotkeys.options.filterInputAcceptingElements = false;
jQuery.hotkeys.options.filterContentEditable = false;
jQuery.hotkeys.options.filterTextInputs = false;
}
$(document).on('click', "a[data-action='note-revision']", async event => {
const linkEl = $(event.target);