File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ class BookmarkSearch {
7575 }
7676
7777 private createCard ( response : any [ ] ) {
78- const card = '<div id="cloudopt-bookmark"><div class="cloudopt-bookmark-head">BookMark Search<a id="cloudopt-bookmark-close" href="#"><img class="cloudopt-icon" src="https://cdn.cloudopt.net/extensions/resource/close.png" /></a><a href="https://www.cloudopt.net" target="_blank"><img src="https://cdn.cloudopt.net/extensions/resource/logo.png"></a></div></div>'
78+ const card = '<div id="cloudopt-bookmark"><div class="cloudopt-bookmark-head">BookMark Search<a id="cloudopt-bookmark-close" href="#"><img class="cloudopt-icon" src="https://cdn.cloudopt.net/extensions/resource/close.png" /></a><a href="https://www.cloudopt.net" target="_blank"><img src="https://cdn.cloudopt.net/extensions/resource/logo.png"></a></div><div id="cloudopt-bookmark-content" style="max-height: 1200px; overflow: auto"></div>< /div>'
7979 if ( response . length > 0 ) {
8080 $ ( card ) . appendTo ( this . innerClass )
8181 response . forEach ( ( item ) => {
8282 if ( item . url && item . url . indexOf ( 'place:' ) < 0 ) {
8383 const a = [ item . url , item . title , item . url ] . map < string > ( sanitize )
8484 const html = `<div class="cloudopt-bookmark-li"><a href="${ a [ 0 ] } " target="_blank">${ a [ 1 ] } </a><p>${ a [ 2 ] } </p></div>`
85- $ ( html ) . appendTo ( '#cloudopt-bookmark' )
85+ $ ( html ) . appendTo ( '#cloudopt-bookmark-content ' )
8686 }
8787 } )
8888 }
You can’t perform that action at this time.
0 commit comments