Skip to content

Commit

Permalink
Fix disappearing from pressing enter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wybrenb authored Jan 27, 2017
1 parent 2b4756f commit 93bb47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editable.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ protected function initInlineOptions()
'templateBefore' => self::INLINE_BEFORE_1,
'templateAfter' => self::INLINE_AFTER_1,
'options' => ['class' => 'panel panel-default'],
'closeButton' => "<button class='kv-editable-close close' title='{$title}'>&times;</button>",
'closeButton' => "<button type='button' class='kv-editable-close close' title='{$title}'>&times;</button>",
], $this->inlineSettings
);
Html::addCssClass($this->contentOptions, 'kv-editable-inline');
Expand Down

0 comments on commit 93bb47e

Please sign in to comment.