Always allow external url for images

This commit is contained in:
Zijie Ning 2024-12-02 22:30:15 +01:00
parent d9c2b17dc9
commit 8c708d24a8
2 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@
Background image Background image
<em><font-awesome-icon icon="image"/></em> <em><font-awesome-icon icon="image"/></em>
</li> </li>
<li v-if="!edition.isOfficial" @click="imageOptIn"> <!-- <li v-if="!edition.isOfficial" @click="imageOptIn">
<small>Show Custom Images</small> <small>Show Custom Images</small>
<em <em
><font-awesome-icon ><font-awesome-icon
@ -96,7 +96,7 @@
grimoire.isImageOptIn ? 'check-square' : 'square' grimoire.isImageOptIn ? 'check-square' : 'square'
]" ]"
/></em> /></em>
</li> </li> -->
<li @click="toggleStatic"> <li @click="toggleStatic">
Disable Animations Disable Animations
<em <em

View file

@ -104,7 +104,7 @@ export default new Vuex.Store({
isMenuOpen: false, isMenuOpen: false,
isStatic: false, isStatic: false,
isMuted: false, isMuted: false,
isImageOptIn: false, isImageOptIn: true,
zoom: 0, zoom: 0,
background: "" background: ""
}, },
@ -170,7 +170,7 @@ export default new Vuex.Store({
toggleStatic: toggle("isStatic"), toggleStatic: toggle("isStatic"),
toggleNight: toggle("isNight"), toggleNight: toggle("isNight"),
toggleGrimoire: toggle("isPublic"), toggleGrimoire: toggle("isPublic"),
toggleImageOptIn: toggle("isImageOptIn"), // toggleImageOptIn: toggle("isImageOptIn"),
toggleModal({ modals }, name) { toggleModal({ modals }, name) {
if (name) { if (name) {
modals[name] = !modals[name]; modals[name] = !modals[name];