mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Adapt code for eslint-config-standard 17
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
66ab5ab51b
commit
d26dcd04a1
24 changed files with 82 additions and 82 deletions
|
@ -1230,7 +1230,7 @@ ui.toolbar.export.dropbox.click(function (event) {
|
|||
files: [
|
||||
{
|
||||
url: noteurl + '/download',
|
||||
filename: filename
|
||||
filename
|
||||
}
|
||||
],
|
||||
error: function (errorMessage) {
|
||||
|
@ -1538,7 +1538,7 @@ function initRevisionViewer () {
|
|||
const revisionViewerTextArea = document.getElementById('revisionViewer')
|
||||
revisionViewer = CodeMirror.fromTextArea(revisionViewerTextArea, {
|
||||
mode: defaultEditorMode,
|
||||
viewportMargin: viewportMargin,
|
||||
viewportMargin,
|
||||
lineNumbers: true,
|
||||
lineWrapping: true,
|
||||
showCursorWhenSelecting: true,
|
||||
|
@ -2005,7 +2005,7 @@ function importFromUrl (url) {
|
|||
}
|
||||
$.ajax({
|
||||
method: 'GET',
|
||||
url: url,
|
||||
url,
|
||||
success: function (data) {
|
||||
const extension = url.split('.').pop()
|
||||
if (extension === 'html') {
|
||||
|
@ -2999,7 +2999,7 @@ function emitUserStatus (force) {
|
|||
|
||||
const userStatus = {
|
||||
idle: idle.isAway,
|
||||
type: type
|
||||
type
|
||||
}
|
||||
|
||||
if (force || JSON.stringify(userStatus) !== JSON.stringify(userStatusCache)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue