New left menu
pull/98/head
Pavel Loginov 2019-01-23 21:39:22 +06:00 committed by GitHub
parent a24e047e91
commit d34b0c6209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 16 deletions

View File

@ -436,10 +436,10 @@ $( function() {
theme:"minimal-dark", theme:"minimal-dark",
scrollInertia:30 scrollInertia:30
}); });
$(".top-link").mCustomScrollbar({ /*$(".top-link").mCustomScrollbar({
theme:"minimal-dark", theme:"minimal-dark",
scrollInertia:30 scrollInertia:30
}); }); */
$(".diff").mCustomScrollbar({ $(".diff").mCustomScrollbar({
theme:"minimal-dark", theme:"minimal-dark",
scrollInertia:30 scrollInertia:30
@ -450,7 +450,7 @@ $( function() {
} ); } );
$( "select" ).selectmenu(); $( "select" ).selectmenu();
var tooltips = $( "[title]" ).tooltip(); //var tooltips = $( "[title]" ).tooltip();
$( "input[type=submit], button" ).button(); $( "input[type=submit], button" ).button();
$( "input[type=checkbox]" ).checkboxradio(); $( "input[type=checkbox]" ).checkboxradio();
$( ".controlgroup" ).controlgroup(); $( ".controlgroup" ).controlgroup();
@ -1333,18 +1333,7 @@ $( function() {
type: "GET", type: "GET",
success: function( data ) { success: function( data ) {
if (data.indexOf('ok') != '-1') { if (data.indexOf('ok') != '-1') {
$( "#dialog-confirm" ).dialog({ window.location.replace(ref);
resizable: false,
height: "auto",
width: 400,
modal: true,
title: "Support the project!",
buttons: {
"Ok": function() {
window.location.replace(ref);
}
}
});
} else { } else {
$('.alert-danger').remove(); $('.alert-danger').remove();
$("#ajax").html(data); $("#ajax").html(data);