Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 9f66f02

Browse files
KazuyaHaralinkesch
authored andcommitted
add type="button" (#366)
1 parent 67b0946 commit 9f66f02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/js/templates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ this["MediumInsert"]["Templates"]["src/js/templates/core-buttons.hbs"] = Handleb
1212
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
1313
var stack1;
1414

15-
return "<div class=\"medium-insert-buttons\" contenteditable=\"false\" style=\"display: none\">\n <button class=\"medium-insert-buttons-show\"><span>+</span></button>\n <ul class=\"medium-insert-buttons-addons\" style=\"display: none\">\n"
15+
return "<div class=\"medium-insert-buttons\" contenteditable=\"false\" style=\"display: none\">\n <button type=\"button\" class=\"medium-insert-buttons-show\"><span>+</span></button>\n <ul class=\"medium-insert-buttons-addons\" style=\"display: none\">\n"
1616
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.addons : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
1717
+ " </ul>\n</div>\n";
1818
},"useData":true});
@@ -126,4 +126,4 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handl
126126
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.styles : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
127127
+ " </ul>\n</div>\n\n"
128128
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.actions : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
129-
},"useData":true});
129+
},"useData":true});

src/js/templates/core-buttons.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="medium-insert-buttons" contenteditable="false" style="display: none">
2-
<button class="medium-insert-buttons-show"><span>+</span></button>
2+
<button class="medium-insert-buttons-show" type="button"><span>+</span></button>
33
<ul class="medium-insert-buttons-addons" style="display: none">
44
{{#each addons}}
55
<li><button data-addon="{{@key}}" data-action="add" class="medium-insert-action">{{{label}}}</button></li>

0 commit comments

Comments
 (0)