jQuery(document).ready(function($) {
$('.owl-carousel').owlCarousel({
loop:true,
margin:0,
padding:0,
dots:true,
animateOut: 'fadeOut',
animateIn: 'fadeIn',
items:1,
autoplay:true,
smartSpeed:450
});
});
(function($) {
'use strict';
$(document).on('show.bs.tab', '.nav-tabs-responsive [data-toggle="tab"]', function(e) {
var $target = $(e.target);
var $tabs = $target.closest('.nav-tabs-responsive');
var $current = $target.closest('li');
var $parent = $current.closest('li.dropdown');
$current = $parent.length > 0 ? $parent : $current;
var $next = $current.next();
var $prev = $current.prev();
var updateDropdownMenu = function($el, position){
$el
.find('.dropdown-menu')
.removeClass('pull-xs-left pull-xs-center pull-xs-right')
.addClass( 'pull-xs-' + position );
};
$tabs.find('>li').removeClass('next prev');
$prev.addClass('prev');
$next.addClass('next');
updateDropdownMenu( $prev, 'left' );
updateDropdownMenu( $current, 'center' );
updateDropdownMenu( $next, 'right' );
});
$( "a#rates-tab" ).click(function() {
$('.wall').jaliswall({item:'.wall-item'});
});
})(jQuery);