Skip to content

Commit

Permalink
#sport_school fix javascripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Mar 16, 2020
1 parent 1a8bf5d commit ee4f991
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Expand Up @@ -2,14 +2,3 @@
//= require jquery_ujs
//= require tramway/sport_school/jquery.scrollTo.min
//= require_tree .

$.extend($.scrollTo.defaults, {
axis: 'y',
duration: 2000
});
$(document).ready(function() {
$('.scroll').click(function() {
e.preventDefault();
$.scrollTo("#" + $(@).data('id'));
});
});
2 changes: 1 addition & 1 deletion tramway-sport_school/lib/tramway/sport_school/version.rb
Expand Up @@ -2,6 +2,6 @@

module Tramway
module SportSchool
VERSION = '1.2.11.1'
VERSION = '1.2.11.2'
end
end

0 comments on commit ee4f991

Please sign in to comment.