Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afd0c9c

Browse files
tchiotludojoallard
authored andcommitted
Remove Single don't add arrow
1 parent 0127bad commit afd0c9c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/plugins/remove_button/plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ Selectize.define('remove_button', function(options) {
3737
* @return {string}
3838
*/
3939
var append = function(html_container, html_element) {
40-
return html_container + html_element;
40+
return $('<span>').append(html_container)
41+
.append(html_element);
4142
};
4243

4344
thisRef.setup = (function() {

src/plugins/remove_button/plugin.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
}
3737
.remove-single {
3838
position: absolute;
39-
right: 28px;
40-
top: 6px;
39+
right: 0;
40+
top: 0;
4141
font-size: 23px;
4242
}
4343
}

0 commit comments

Comments
 (0)