Skip to content

Commit

Permalink
Fix page unlock
Browse files Browse the repository at this point in the history
We need to replace the tooltip as well.
  • Loading branch information
tvdeyen committed Dec 14, 2023
1 parent d21d73d commit c9a9efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/alchemy/admin/pages/unlock.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
locked_page_tab.remove()
}
if (locked_page_icon) {
locked_page_icon.innerHTML = '<i class="icon ri-file-line ri-fw"></i>'
locked_page_icon.outerHTML = '<span class="handle"><i class="icon ri-file-line ri-fw ri-xl"></i></span>'
}
Alchemy.growl('<%= flash[:notice] -%>')
})()

0 comments on commit c9a9efa

Please sign in to comment.