Skip to content

Commit

Permalink
Remove jquery-ui fade effect
Browse files Browse the repository at this point in the history
It is used only to fade in the dialog body during replacement.
We can sinmply remove it, because it does not have much of an
impact.
  • Loading branch information
tvdeyen committed Oct 24, 2023
1 parent 6da2fa5 commit bc5ca2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/alchemy/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// ------------------------------
//= require jquery2
//= require jquery_ujs
//= require jquery-ui/effects/effect-fade
//= require jquery-ui/widgets/draggable
//= require jquery-ui/widgets/sortable
//= require tinymce/tinymce.min
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/alchemy/alchemy.dialog.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class window.Alchemy.Dialog
))
if @options.ready?
@options.ready(@dialog_body)
@dialog_body.show('fade', 200)
@dialog_body.show()
true

# Adds a spinner into Dialog body
Expand Down

0 comments on commit bc5ca2e

Please sign in to comment.