diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-11-08 19:41:03 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-11-08 19:41:03 -0800 |
commit | 885f508edafdcf7f060dde73b6bae65f56bed3d2 (patch) | |
tree | 0ef958acb9c6cf5dadf523e53ca465dd38f70517 /ext/bg/js | |
parent | af45e8fab63487e0e5ffc43b99ff6c075d38e4ab (diff) |
WIP
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/options-form.js | 2 | ||||
-rw-r--r-- | ext/bg/js/templates.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index f5ca3ce2..8bb60808 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -172,7 +172,7 @@ function onDictionaryImport() { const dictError = $('#dict-error'); dictError.hide(); - const progressbar = $('#dict-progress'); + const progressbar = $('#dict-import-progress'); progressbar.show(); const callback = (total, current) => { diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index 206ed605..d198a76f 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -13,7 +13,7 @@ templates['dictionary.html'] = template({"1":function(container,depth0,helpers,p + alias4(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper))) + " <small>v." + alias4(((helper = (helper = helpers.version || (depth0 != null ? depth0.version : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"version","hash":{},"data":data}) : helper))) - + "</small></h4>\n </div>\n <div class=\"col-xs-4 text-right disabled\">\n <button type=\"button\" class=\"dict-delete btn btn-danger\">Delete</button>\n </div>\n </div>\n\n <div class=\"checkbox " + + "</small></h4>\n </div>\n <div class=\"col-xs-4 text-right disabled\">\n <button type=\"button\" class=\"dict-delete btn btn-danger\">Delete</button>\n </div>\n </div>\n <div class=\"progress\" id=\"dict-delete-progress\">\n <div class=\"progress-bar progress-bar-striped progress-bar-danger\" style=\"width: 0%\"></div>\n </div>\n <div class=\"checkbox " + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.hasTerms : depth0),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "\">\n <label><input type=\"checkbox\" class=\"dict-enable-terms\" " + ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.hasTerms : depth0),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") |