mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 06:06:13 +02:00
import: Convert arrow function to regular function
This fixes a bug introduced in commit b711ff6acf976a3f8808325411cf244d55c5a0e7. Some time between when that commit was originally written and when it was merged a round of linting had converted the function from a regular function to an arrow function because `this` was never in the body of the function. When I rebased the commit, which introduced `this` to the body, I didn't catch the error.
This commit is contained in:
parent
fb745374c3
commit
30dbdf29f4
@ -42,7 +42,7 @@ const padimpexp = (() => {
|
||||
$('#importmessagefail').fadeOut('fast');
|
||||
};
|
||||
|
||||
const fileInputSubmit = (e) => {
|
||||
const fileInputSubmit = function (e) {
|
||||
e.preventDefault();
|
||||
$('#importmessagefail').fadeOut('fast');
|
||||
if (!window.confirm(html10n.get('pad.impexp.confirmimport'))) return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user