mirror of
https://github.com/bitwarden/help
synced 2025-12-10 13:23:16 +00:00
Landing Page (#413)
* crazy egg script * Client gs guides (#398) * JS for intra-article tabbing * Combine Android/iOS guide to tabbable "Getting Started with Mobile" + image. * Link changes -> redirect. * b.e. & mobile edits * GS w/ Desktop App + Images * tagging * video cleanup * header improvements * GS w/ Web Vault + reorder * orgs name change * web vault article frame * web vault article * Landing (#399) * poc * "Home" sidebar option * Events into Resources card * events <-> suggest an edit * tweaks * card fix * fix video icons * video size * margin/border on secondary cards * added table items * links & drop a stray item * more responsive secondary cards * fixed linking * link fixes * crazy egg script merge * mobile view for alignment of columns in help * mobile image width issue fix * responsiveness fixes * final edits * link check Co-authored-by: David Choi <davidgumzchoi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
38b389cc07
commit
a491a9587e
11
js/bit.js
11
js/bit.js
@@ -91,3 +91,14 @@ $(function () {
|
||||
// collapse sidebar
|
||||
// $('#bd-docs-nav').toggleClass('show', $(window).width() > 1024);
|
||||
});
|
||||
|
||||
// navigable in-article tabs
|
||||
var triggerTabList = [].slice.call(document.querySelectorAll('#myTab a'))
|
||||
triggerTabList.forEach(function (triggerEl) {
|
||||
var tabTrigger = new bootstrap.Tab(triggerEl)
|
||||
|
||||
triggerEl.addEventListener('click', function (event) {
|
||||
event.preventDefault()
|
||||
tabTrigger.show()
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user