Enhancement: unused javascripts cleanup and slick.js update
This commit is contained in:
parent
6f29183f9f
commit
1da59ad77f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -4,9 +4,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
@ -113,4 +111,7 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
.slick-arrow.slick-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
8
Web/js/slick/slick.min.js
vendored
8
Web/js/slick/slick.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,42 +0,0 @@
|
|||||||
$(document).ready(function () {
|
|
||||||
var list = { letters: [] };
|
|
||||||
$("#abcindexed").children("li").each(function () {
|
|
||||||
var itmLetter = $(this).find('a').text().substring(0, 1).toUpperCase();
|
|
||||||
|
|
||||||
if (itmLetter == "¿") {
|
|
||||||
var itmLetter = $(this).find('a').text().substring(1, 2).toUpperCase();
|
|
||||||
};
|
|
||||||
|
|
||||||
if (!(itmLetter in list)) {
|
|
||||||
list[itmLetter] = [];
|
|
||||||
list.letters.push(itmLetter);
|
|
||||||
}
|
|
||||||
|
|
||||||
list[itmLetter].push($(this));
|
|
||||||
});
|
|
||||||
list.letters.sort();
|
|
||||||
$(".div_for_index").empty();
|
|
||||||
$.each(list.letters, function (i, letter) {
|
|
||||||
list[letter].sort(function (a, b) {
|
|
||||||
return $(a).text().toUpperCase().localeCompare($(b).text().toUpperCase());
|
|
||||||
});
|
|
||||||
var ul = $("<ul/>");
|
|
||||||
$.each(list[letter], function (idx, itm) {
|
|
||||||
ul.append(itm);
|
|
||||||
});
|
|
||||||
var pLetter = '<p class=\"gloss_capital\">' + letter.toUpperCase() + '</p>';
|
|
||||||
$('div.div_for_index').append($('<div/>').attr('class', 'gloss_content').attr('id', 'gloss_' + letter.toLowerCase() + '_block').append(pLetter).append(ul));
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".community_edition .MainHelpCenter").find('.enterprise_display').each(function (i) {
|
|
||||||
$(this).remove();
|
|
||||||
});
|
|
||||||
$(".enterprise_edition .MainHelpCenter").find('.community_display').each(function (i) {
|
|
||||||
$(this).remove();
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".blockOverlay").on("click", unblockUI() {
|
|
||||||
$.unblockUI();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
Loading…
Reference in New Issue
Block a user