nl_tokens: Compare all currently selected Versions with their predecessor .
pl_tokens: function changeAllVersionCompareTo ( e ) { e . preventDefault ( ) ; $ ( 'article:visible .versions' ) . each ( function ( ) { var $root = $ ( this ) . parents ( 'article' ) ; var currentVersion = $root . <mask> ( 'version' ) ; var $foundElement = null ; $ ( this ) . find ( 'li.version a' ) . each ( function ( ) { var selectVersion = $ ( this ) . html ( ) ; if ( selectVersion < currentVersion && ! $foundElement ) $foundElement = $ ( this ) ; } ) ; if ( $foundElement ) $foundElement . trigger ( 'click' ) ; } ) ; initDynamic ( ) ; }