Doc update v1.0.10#142
Conversation
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
2884666 to
231758e
Compare
| var minVisibleOffset = $(window).scrollTop(); | ||
| var tocHeight = parseInt($sideToc.height()) + parseInt($sideToc.css("padding-top")) + parseInt($sideToc.css("padding-bottom")) + parseInt($sideToc.css("margin-top")) + parseInt($sideToc.css("margin-bottom")); | ||
| var tocWidth = parseInt($sideTocID.outerWidth()) - parseInt($sideTocID.css("padding-left")) - parseInt($sideTocID.css("padding-right")); | ||
| var tocXNav = parseInt($slideSection.offset().left) - tocWidth; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note documentation
| $('.wh_content_area').css('min-height', cHeight+'px'); | ||
| $sideToc.css("top", topOffset + "px").css("width", tocWidth + "px").css("position", "fixed").css("z-index", "997").css("overflow-y", "auto").css("overflow-x", "hidden"); | ||
| if(visibleAreaHeight + topOffset > $(".wh_footer").offset().top) { | ||
| $sideToc.css("max-height", $(".wh_footer").offset().top - topOffset - parseInt($(".wh_footer").css("margin-top"))) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note documentation
| $sideToc.css("top", topOffset + "px"); | ||
| } | ||
| if(visibleAreaHeight + topOffset > $(".wh_footer").offset().top) { | ||
| $sideToc.css("max-height", $(".wh_footer").offset().top - topOffset - parseInt($(".wh_footer").css("margin-top"))) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note documentation
| return false; | ||
| } | ||
|
|
||
| function clearHighlights() { |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note documentation
|
|
||
| var wh_mobile = | ||
| (typeof whDistribution != 'undefined') && whDistribution == 'wh-mobile'; | ||
| var wh_Classic = |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note documentation
| */ | ||
| function computeHTMLResult(whDistribution, pageNumber, totalPageNumber, itemsPerPage) { | ||
| // Empty jQuery element | ||
| var results = $(); |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note documentation
|
|
||
| function computeSearchItemHTML(searchItem, whDistribution, hasSimilarPages, similarPageID) { | ||
| // New empty jQuery element | ||
| var htmlResult = $(); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning documentation
No description provided.