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 {
357357
358358 const addTagElem = document . createElement ( 'ul' ) ;
359359 addTagElem . className = `${ CODE_SNIPPET_INPUT_TAG } tag unapplied-tag` ;
360- const newTagName = document . createElement ( 'span ' ) ;
360+ const newTagName = document . createElement ( 'button ' ) ;
361361 newTagName . innerText = 'Add Tag' ;
362362 newTagName . style . cursor = 'pointer' ;
363363 addTagElem . appendChild ( newTagName ) ;
@@ -468,7 +468,7 @@ class Private {
468468 } ) ;
469469
470470 // change input to span
471- const newTagName = document . createElement ( 'span ' ) ;
471+ const newTagName = document . createElement ( 'button ' ) ;
472472 newTagName . innerText = 'Add Tag' ;
473473 newTagName . style . cursor = 'pointer' ;
474474 inputElement . parentElement . replaceChild ( newTagName , inputElement ) ;
You can’t perform that action at this time.
0 commit comments