summaryrefslogtreecommitdiffstats
path: root/doc/global/template/scripts
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2015-02-06 15:51:23 +0100
committerTopi Reiniƶ <topi.reinio@digia.com>2015-03-11 09:17:39 +0000
commit2002103baac593e9193d9501dc0e1b1e9e28446a (patch)
tree512fcb30b6b83d3a10b9c2ed4d11607789df1f48 /doc/global/template/scripts
parent268cc1dc996ba943895f24c5ca915c2b406b6097 (diff)
Doc: Update the online documentation template
This change fixes a number of issues in the online template: - Missing vertical line after the login icon in the header - Update header, footer links and appearance - Adjust alternate background color of table cells to improve readability - Fix style of cookie notification in the html header - Add The Qt Company logo in the footer - Adjust list item marker image - Improve responsiveness of footer Change-Id: I77147b4b4161d6001c095a4b67e15552132100e6 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'doc/global/template/scripts')
-rw-r--r--doc/global/template/scripts/extras.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/global/template/scripts/extras.js b/doc/global/template/scripts/extras.js
index cb1102d493..409215f2d8 100644
--- a/doc/global/template/scripts/extras.js
+++ b/doc/global/template/scripts/extras.js
@@ -1,13 +1,14 @@
var vOffset = 65;
$(function () {
- $('a[href*=#]:not([href=#])').on('click', function () {
+ $('a[href*=#]:not([href=#])').on('click', function (e) {
+ if (e.which == 2)
+ return true;
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
setTimeout(function () {
$('html, body').animate({scrollTop: target.offset().top - vOffset}, 50);}, 50);
- // return false;
}
});
});