From eb7456089a99e95abb69389ab4b0b3a330aae05f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 11 Aug 2016 08:57:23 -0700 Subject: [PATCH] Adding dropdown --- ext/bg/js/options-form.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index 99d01db4..bb9f762b 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -118,10 +118,17 @@ function populateAnkiFields(element, opts) { const body = $(''); names.forEach((name) => { + const groupBtn = $('
', {class: 'input-group-btn'}); + groupBtn.append($('