File tree 1 file changed +15
-11
lines changed
1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,23 @@ const Vomnibar = {
24
24
} ) ;
25
25
} ,
26
26
27
- activateBookmarks ( sourceFrameId ) {
28
- this . open ( sourceFrameId , {
29
- completer : "bookmarks" ,
30
- selectFirst : true ,
31
- } ) ;
27
+ activateBookmarks ( sourceFrameId , registryEntry ) {
28
+ let options = Object . assign ( { } , registryEntry . options ,
29
+ {
30
+ completer : "bookmarks" ,
31
+ selectFirst : true ,
32
+ } ) ;
33
+ this . open ( sourceFrameId , options ) ;
32
34
} ,
33
35
34
- activateBookmarksInNewTab ( sourceFrameId ) {
35
- this . open ( sourceFrameId , {
36
- completer : "bookmarks" ,
37
- selectFirst : true ,
38
- newTab : true ,
39
- } ) ;
36
+ activateBookmarksInNewTab ( sourceFrameId , registryEntry ) {
37
+ let options = Object . assign ( { } , registryEntry . options ,
38
+ {
39
+ completer : "bookmarks" ,
40
+ selectFirst : true ,
41
+ newTab : true ,
42
+ } ) ;
43
+ this . open ( sourceFrameId , options ) ;
40
44
} ,
41
45
42
46
activateEditUrl ( sourceFrameId ) {
You can’t perform that action at this time.
0 commit comments