File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1078,13 +1078,13 @@ class AnnotationEditor {
10781078 }
10791079 this . _editToolbar = new EditorToolbar ( this ) ;
10801080 this . div . append ( this . _editToolbar . render ( ) ) ;
1081- this . _editToolbar . addButton ( "comment" , this . addCommentButton ( ) ) ;
10821081 const { toolbarButtons } = this ;
10831082 if ( toolbarButtons ) {
10841083 for ( const [ name , tool ] of toolbarButtons ) {
10851084 await this . _editToolbar . addButton ( name , tool ) ;
10861085 }
10871086 }
1087+ this . _editToolbar . addButton ( "comment" , this . addCommentButton ( ) ) ;
10881088 this . _editToolbar . addButton ( "delete" ) ;
10891089
10901090 return this . _editToolbar ;
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ class EditorToolbar {
167167 return ;
168168 }
169169 this . #addListenersToElement( button ) ;
170- this . #buttons. prepend ( button , this . #divider) ;
170+ this . #buttons. append ( button , this . #divider) ;
171171 this . #comment = comment ;
172172 comment . toolbar = this ;
173173 }
You can’t perform that action at this time.
0 commit comments