improve design on mobile

This commit is contained in:
Henrique Dias
2015-09-20 11:03:17 +01:00
parent 125666b5c5
commit 6453713253
7 changed files with 130 additions and 80 deletions

View File

@@ -1,5 +1,5 @@
$(document).ready(function() {
$(document).pjax('a', '#content');
$(document).pjax('a[data-pjax]', '#content');
});
$(document).on('ready pjax:success', function() {
@@ -197,12 +197,4 @@ $(document).on('ready pjax:success', function() {
}
});
}
});
$(document).on('pjax:send', function() {
$('#loading').fadeIn();
});
$(document).on('pjax:complete', function() {
$('#loading').fadeOut();
});