From dc6dcff2cb646e437dd57ba1270471d15ee3e3e2 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Thu, 30 Jun 2022 02:12:36 +1000
Subject: Fix search-bar mode-checkbox inverted-condition bug

---
 src/components/SearchModal.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/components/SearchModal.vue')

diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue
index 0e92eb6..a943a8f 100644
--- a/src/components/SearchModal.vue
+++ b/src/components/SearchModal.vue
@@ -24,7 +24,8 @@
 			<div v-if="searchHadMoreSuggs" class="text-center border">...</div>
 		</div>
 		<label :style="animateLabelStyles" class="flex gap-1">
-			<input type="checkbox" v-model="uiOpts.searchJumpMode" @change="$emit('setting-chg', 'searchJumpMode')"/>
+			<input type="checkbox" v-model="uiOpts.searchJumpMode" :true-value="false" :false-value="true"
+				@change="$emit('setting-chg', 'searchJumpMode')"/>
 			<div class="text-sm">Animate</div>
 		</label>
 	</div>
-- 
cgit v1.2.3

