fixed conflic
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
$(document).on('turbolinks:load', function() {
|
||||
$(document).ready(function() {
|
||||
$('body').bootstrapMaterialDesign();
|
||||
|
||||
|
||||
var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight()));
|
||||
|
||||
$('#custom-slimscroll').slimScroll({
|
||||
@@ -40,8 +40,10 @@ $(document).on('turbolinks:load', function() {
|
||||
type: method,
|
||||
url: url ,
|
||||
success: function(data) {
|
||||
// console.log(data.url);
|
||||
location.href = data.url;
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
swal("Cancelled", "Your imaginary file is safe :)", "error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user