Drop jquery.mobile
All that code, just for swipe. Nah...
This commit is contained in:
parent
0fb080441a
commit
e79cfe0f91
4 changed files with 0 additions and 20 deletions
|
|
@ -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
|
|
@ -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');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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 === ""){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue