File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ window.addEventListener(
3232 const createLibbyButton = ( ) => {
3333 let builderDiv = document . createElement ( "div" )
3434 builderDiv . innerHTML = `
35- <div class="menu-library-buttons ">
36- <button class="menu-library-buttons -add-library halo" role="button" type="button">
35+ <div class="summary-list-action ">
36+ <button class="summary-list-action -add-library halo" role="button" type="button">
3737 <span role="text">Save Libraries (userscript)</span>
3838 </button>
3939 </div>
@@ -154,7 +154,7 @@ window.addEventListener(
154154 * so keep retrying until the container is ready
155155 */
156156 const addLibbyButton = ( ) => {
157- let container = document . getElementsByClassName ( "menu-library-buttons " )
157+ let container = document . getElementsByClassName ( "summary-list-section-actions " )
158158 if ( container && container [ 0 ] ) {
159159 container [ 0 ] . parentNode . insertBefore (
160160 createLibbyButton ( ) ,
You can’t perform that action at this time.
0 commit comments