File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
html_builder/static/src/core/anchor
website/static/src/builder/plugins/options Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class AnchorPlugin extends Plugin {
47
47
48
48
// TODO check if no other way when doing popup options.
49
49
isModal ( element ) {
50
- element . classList . contains ( "modal" ) ;
50
+ return element . classList . contains ( "modal" ) ;
51
51
}
52
52
53
53
setAnchorName ( element , value ) {
Original file line number Diff line number Diff line change @@ -78,9 +78,7 @@ class PopupOptionPlugin extends Plugin {
78
78
} ,
79
79
copyAnchor : {
80
80
apply : ( { editingElement } ) => {
81
- this . dependencies . anchor . createOrEditAnchorLink (
82
- editingElement . closest ( ".s_popup" )
83
- ) ;
81
+ this . dependencies . anchor . createOrEditAnchorLink ( editingElement ) ;
84
82
} ,
85
83
} ,
86
84
setPopupDelay : {
You can’t perform that action at this time.
0 commit comments