Skip to content

Commit

Permalink
fix double / in jquery-ui for jquery-ui-rails 6 gem
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Aug 2, 2017
1 parent 0af4420 commit ed1db88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/active_scaffold.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require_asset "jquery-ui"
elsif Jquery.const_defined? 'Ui'
jquery_ui_prefix = Jquery::Ui::Rails::VERSION < '5.0.0' ? 'jquery.ui.' : 'jquery-ui/'
jquery_ui_widgets_prefix = Jquery::Ui::Rails::VERSION >= '6.0.0' ? '/widgets/' : ''
jquery_ui_widgets_prefix = Jquery::Ui::Rails::VERSION >= '6.0.0' ? 'widgets/' : ''
require_asset "#{jquery_ui_prefix}core"
require_asset "#{jquery_ui_prefix}effect"
require_asset "#{jquery_ui_prefix}effects/effect-highlight" if Jquery::Ui::Rails::VERSION >= '6.0.0'
Expand Down

0 comments on commit ed1db88

Please sign in to comment.