File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ class Private {
357
357
358
358
const addTagElem = document . createElement ( 'ul' ) ;
359
359
addTagElem . className = `${ CODE_SNIPPET_INPUT_TAG } tag unapplied-tag` ;
360
- const newTagName = document . createElement ( 'span ' ) ;
360
+ const newTagName = document . createElement ( 'button ' ) ;
361
361
newTagName . innerText = 'Add Tag' ;
362
362
newTagName . style . cursor = 'pointer' ;
363
363
addTagElem . appendChild ( newTagName ) ;
@@ -468,7 +468,7 @@ class Private {
468
468
} ) ;
469
469
470
470
// change input to span
471
- const newTagName = document . createElement ( 'span ' ) ;
471
+ const newTagName = document . createElement ( 'button ' ) ;
472
472
newTagName . innerText = 'Add Tag' ;
473
473
newTagName . style . cursor = 'pointer' ;
474
474
inputElement . parentElement . replaceChild ( newTagName , inputElement ) ;
You can’t perform that action at this time.
0 commit comments