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