File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1809,10 +1809,10 @@ var control = (function(){
18091809var _edit = function ( ) {
18101810if ( state . get ( ) . link . edit ) {
18111811helper . addClass ( html , "is-link-edit" ) ;
1812- link . tabIndex ( ) ;
1812+ link . render . tabIndex ( ) ;
18131813} else {
18141814helper . removeClass ( html , "is-link-edit" ) ;
1815- link . tabIndex ( ) ;
1815+ link . render . tabIndex ( ) ;
18161816} ;
18171817} ;
18181818var _date = function ( ) {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ var link = (function(){
6161data . save ( ) ;
6262clear ( ) ;
6363render . link ( ) ;
64- tabIndex ( ) ;
64+ render . tabIndex ( ) ;
6565control . dependents ( ) ;
6666control . render ( ) ;
6767resetStagedBookmarkData ( ) ;
@@ -114,7 +114,7 @@ var link = (function(){
114114data . save ( ) ;
115115clear ( ) ;
116116render . link ( ) ;
117- tabIndex ( ) ;
117+ render . tabIndex ( ) ;
118118_returnToPreviousFocusLink ( ) ;
119119resetStagedBookmarkData ( ) ;
120120} ,
@@ -514,6 +514,9 @@ var link = (function(){
514514link : function ( ) {
515515_link ( ) ;
516516} ,
517+ tabIndex : function ( ) {
518+ _tabIndex ( ) ;
519+ } ,
517520items : function ( ) {
518521_items ( ) ;
519522}
@@ -592,7 +595,7 @@ var link = (function(){
592595html . style . setProperty ( "--link-items-width" , state . get ( ) . link . items . width + "%" ) ;
593596} ;
594597
595- var tabIndex = function ( ) {
598+ var _tabIndex = function ( ) {
596599var allLinkControlItem = helper . eA ( ".link-control-item" ) ;
597600if ( state . get ( ) . link . edit ) {
598601allLinkControlItem . forEach ( function ( arrayItem , index ) {
@@ -628,8 +631,7 @@ var link = (function(){
628631add : add ,
629632edit : edit ,
630633remove : remove ,
631- render : render ,
632- tabIndex : tabIndex
634+ render : render
633635} ;
634636
635637} ) ( ) ;
You can’t perform that action at this time.
0 commit comments