Drop jquery.mobile

All that code, just for swipe. Nah...
This commit is contained in:
Henne Vogelsang 2022-02-15 16:25:38 +01:00
parent 0fb080441a
commit e79cfe0f91
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
4 changed files with 0 additions and 20 deletions

View file

@ -12,7 +12,6 @@
// //
//= require jquery //= require jquery
//= require jquery_ujs //= require jquery_ujs
//= require jquery.mobile.custom.min
//= require jquery-ui/widgets/draggable //= require jquery-ui/widgets/draggable
//= require jquery-ui/widgets/droppable //= require jquery-ui/widgets/droppable
//= require waypoints/jquery.waypoints //= require waypoints/jquery.waypoints

File diff suppressed because one or more lines are too long

View file

@ -57,12 +57,4 @@
$(document).ready(function(){ $(document).ready(function(){
// hide the left control when the page is ready // hide the left control when the page is ready
$('.carousel').children('.left.carousel-control').hide(); $('.carousel').children('.left.carousel-control').hide();
// carousel swipe
$(".carousel-inner").swiperight(function() {
$(this).parent().carousel('prev');
});
$(".carousel-inner").swipeleft(function() {
$(this).parent().carousel('next');
});
}); });

View file

@ -67,14 +67,6 @@
} }
}); });
// carousel swipe
$(".carousel-inner").swiperight(function() {
$(this).parent().carousel('prev');
});
$(".carousel-inner").swipeleft(function() {
$(this).parent().carousel('next');
});
var day = "#{@current_day}"; var day = "#{@current_day}";
// we only go to the date tag in the url if the conference is not taking place now // we only go to the date tag in the url if the conference is not taking place now
if(day === ""){ if(day === ""){