Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Etherpad Lite
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FS Info TU Dortmund
Administration
Etherpad Lite
Commits
bc302538
Unverified
Commit
bc302538
authored
Sep 22, 2023
by
Denys Halenok
Committed by
GitHub
Sep 22, 2023
Browse files
Options
Downloads
Patches
Plain Diff
Don't access jQuery through `parent.parent` (#5943)
parent
5384edc7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/static/js/pad_editbar.js
+1
-1
1 addition, 1 deletion
src/static/js/pad_editbar.js
with
1 addition
and
1 deletion
src/static/js/pad_editbar.js
+
1
−
1
View file @
bc302538
...
...
@@ -318,7 +318,7 @@ exports.padeditbar = new class {
}
}
else
{
// Focus on the editbar :)
const
firstEditbarElement
=
parent
.
parent
.
$
(
'
#editbar button
'
).
first
();
const
firstEditbarElement
=
$
(
'
#editbar button
'
).
first
();
$
(
evt
.
currentTarget
).
trigger
(
'
blur
'
);
firstEditbarElement
.
trigger
(
'
focus
'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment