remove breaking javascript calls that are unnecessary for us

They require loading more js libraries and since we do not present the relevant
elements in our pages, let's just skip those.
This commit is contained in:
Frédéric Péters 2015-10-06 15:43:38 +02:00
parent eb2e79eac6
commit 971c041bfb
2 changed files with 0 additions and 34 deletions

View File

@ -1,16 +1,3 @@
// French translation for the datepicker plugins
$.fn.datepicker.dates['fr'] = {
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
daysMin: ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa", "Di"],
months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
monthsShort: ["Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc"],
today: "Aujourd'hui",
clear: "Effacer",
weekStart: 1,
format: "dd/mm/yyyy"
}
// Change layout orders according to the device resolution
function layouting() {
@ -84,15 +71,6 @@ $(function() {
// });
// }
// Calendar datepicker on calendar page
$('#js-calendar').datepicker({
language: "fr",
todayHighlight: true
});
// Lightbox
$('a.singleLightbox').lightBox();
$('.yamm-content').find('.change-img').find('img').not(':first-child').css('top', '-5000px');
// Change image visible when navigation dropdown items are hovered
@ -146,8 +124,6 @@ $(document).ready(function($) { // http://ashleydw.github.io/lightbox/#single-im
$(document).ready(function() {
$(".container").fitVids();
/*$('ul.nav li.dropdown').hover(function() {
$(this).addClass('open').find('.dropdown-menu').stop(true, true).delay(200).fadeIn();
}, function() {
@ -170,15 +146,6 @@ $(document).ready(function() {
$('#carousel-example-generic').touchwipe({
wipeLeft: function() { $('#carousel-example-generic').carousel('next'); },
wipeRight: function() { $('#carousel-example-generic').carousel('prev'); },
min_move_x: 20,
min_move_y: 20,
preventDefaultEvents: false
});
$('.panel-heading a').on('click', function(e) {
$(this).find('i').addClass('fa-caret-square-o-down');
$(this).find('i').removeClass('fa-caret-square-o-up');

View File

@ -201,7 +201,6 @@
<script src="{{ site_base }}{{ STATIC_URL }}js/bootstrap.min.js" ></script>
<script src="{{ site_base }}{{ STATIC_URL }}js/app.js" ></script>
<script>
gaProperty = '';