Commit 6012134f authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

Fix unwanted whether at starting

parent 3dabbd89
......@@ -422,7 +422,7 @@ function search_pattern() {
tf_wf: $('#tf-wf-box').prop('checked'),
order: $('#sentences-order').val(),
context: $('#context-box').prop('checked'),
eud2ud: !($('#eud-box').prop('checked')),
eud2ud: (get_info(current_corpus, "enhanced") && !($('#eud-box').prop('checked'))),
};
data['clust1-type'] = app.clust1;
......
var app = new Vue({
el: '#app',
data: {
// Init value on whether to ensure nice initialisation.
clust1: "whether", // 3 possible values: no, key or whether
clust1: "no", // 3 possible values: no, key or whether
clust1_key: "",
clust1_whether: "",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment