nl_tokens: --------------------------- HELPER METHODS --------------------------- Checks whether the sidebar title has wrapped to the second line . If so decreases the font - size of both sidebar and navbar titles .
pl_tokens: function setTitleSize ( ) { var sb = templateOpts . sidebar . <mask> ; var nb = templateOpts . navbar . enabled ; if ( ! sb && ! nb ) return ; var $a = sb ? $ ( '.sidebar-title a' ) : $ ( '.navbar-title a' ) ; // titles font-size is 18px if ( $a . height ( ) > 18 ) { var css = { 'font-size' : '16px' } ; $a . parent ( ) . css ( css ) ; if ( nb ) { $ ( '.navbar-title' ) . css ( css ) ; } } }