Created
December 9, 2020 16:20
-
-
Save scottishwildcat/e86ad16be2b8f30eeb850643480ff1a9 to your computer and use it in GitHub Desktop.
Bookmarklet to expand all collapsed expanders on a Confluence page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:function expandAll(){ | |
c=$('.expand-container'); | |
c.children('.expand-content').toggleClass('expand-hidden').css('display','block').css('opacity','1'); | |
c.children('.expand-control').children('.expand-icon').removeClass("aui-iconfont-chevron-right").addClass("aui-iconfont-chevron-down"); | |
} | |
expandAll(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment