Skip to content

Commit 9294afa

Browse files
committed
Fix: With a black theme used, lock is invisible
1 parent 8bec0af commit 9294afa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/content/statusline.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ const StatusLine = Module("statusline", {
255255
node.style.listStyleImage = window.getComputedStyle(conn_icon).getPropertyValue("list-style-image");
256256
if (node.style.listStyleImage === "none")
257257
node.style.listStyleImage = "url(chrome://browser/skin/identity-icon.svg#normal)";
258+
else
259+
node.style.listStyleImage = node.style.listStyleImage.replace(/-white/, "");
258260

259261
node.style.visibility = "visible";
260262

0 commit comments

Comments
 (0)