Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
socialblue
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
socialblue
Commits
b8b46179
Commit
b8b46179
authored
1 year ago
by
Serhii Myronets
Committed by
Tiago Siqueira
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3392440
by agami4: Remove .once() deprecated usage
parent
6c4b0183
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!123
Issue #3392440 by agami4: Add new drupal version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
color/preview.js
+1
-1
1 addition, 1 deletion
color/preview.js
os-builder/kss-assets/custom/js/multiselect.js
+1
-1
1 addition, 1 deletion
os-builder/kss-assets/custom/js/multiselect.js
with
2 additions
and
2 deletions
color/preview.js
+
1
−
1
View file @
b8b46179
...
...
@@ -90,7 +90,7 @@
colorPreviewCover
.
addClass
(
'
cover-img cover-img-gradient
'
);
}
$colorPreview
.
find
(
'
.color-preview-hero .switch
'
)
.
once
()
$colorPreview
.
find
(
'
.color-preview-hero .switch
'
)
.
on
(
'
click
'
,
function
()
{
colorPreviewLever
.
toggleClass
(
'
lever-on
'
);
colorPreviewCover
.
toggleClass
(
'
cover-img cover-img-gradient
'
);
...
...
This diff is collapsed.
Click to expand it.
os-builder/kss-assets/custom/js/multiselect.js
+
1
−
1
View file @
b8b46179
$
(
document
).
ready
(
function
()
{
// Attach select2 to each multiselect.
$
(
'
select[multiple]
'
)
.
once
(
'
select2
'
).
each
(
function
(
i
,
e
)
{
$
(
once
(
'
select2
'
,
'
select[multiple]
'
)).
each
(
function
(
i
,
e
)
{
var
options
=
{
theme
:
'
social
'
,
placeholder
:
'
Select an option
'
...
...
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