aboutsummaryrefslogtreecommitdiff
path: root/assets/web.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/web.js')
-rw-r--r--assets/web.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/web.js b/assets/web.js
index 46b6810..7b9bce5 100644
--- a/assets/web.js
+++ b/assets/web.js
@@ -23,7 +23,9 @@ const web = new Vue({
response.arrayBuffer().then(res => {
this.definitions = msgpack.decode(new Uint8Array(res));
if( this.definitions && this.definitions[0] && this.definitions[0].mot) {
- this.word = this.definitions[0].mot;
+ if(!this.word.includes('_')) {
+ this.word = this.definitions[0].mot;
+ }
}
});
}