|
|
@ -42,7 +42,6 @@ |
|
|
|
function applyCustomMode() { |
|
|
|
function applyCustomMode() { |
|
|
|
const darkForestContractAddressHash = "<%= dark_forest_address %>" |
|
|
|
const darkForestContractAddressHash = "<%= dark_forest_address %>" |
|
|
|
|
|
|
|
|
|
|
|
const addressHash = "<%= @address.hash %>".toLowerCase() |
|
|
|
|
|
|
|
if (window.location.pathname.toLowerCase().includes(darkForestContractAddressHash)) { |
|
|
|
if (window.location.pathname.toLowerCase().includes(darkForestContractAddressHash)) { |
|
|
|
document.body.className += " " + "dark-forest-theme-applied"; |
|
|
|
document.body.className += " " + "dark-forest-theme-applied"; |
|
|
|
} |
|
|
|
} |
|
|
|