Skip to content

Commit

Permalink
Merge pull request #716 from joomlatools/feature/715-tags
Browse files Browse the repository at this point in the history
Tags cannot be removed
  • Loading branch information
amazeika authored Oct 29, 2024
2 parents 5263201 + cb0bb76 commit 4540189
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function tags($config = array())
var form = $(element[0].form);
form.submit(function() {
if (!element.val()) {
if (element.val().length === 0) {
$('<input />')
.attr('name', '{$config->name}')
.attr('type', 'hidden')
Expand Down

0 comments on commit 4540189

Please sign in to comment.