Skip to content

Commit

Permalink
fix(modal): reintroduce option for close button
Browse files Browse the repository at this point in the history
  • Loading branch information
fkm-adfinis committed May 9, 2019
1 parent 95c5659 commit 8a719e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions addon/components/uk-modal.js
Expand Up @@ -7,6 +7,7 @@ import { getOwner } from "@ember/application";
export default Component.extend({
layout,

btnClose: true,
escClose: true,
bgClose: true,
stack: false,
Expand Down
2 changes: 1 addition & 1 deletion addon/templates/components/uk-modal.hbs
@@ -1,7 +1,7 @@
{{#-in-element container}}
<div id="modal-{{elementId}}">
<div class="uk-modal-dialog ">
{{#if closable}}<button class="uk-modal-close-default" type="button" uk-close></button>{{/if}}
{{#if btnClose}}<button class="uk-modal-close-default" type="button" uk-close></button>{{/if}}
<div class="uk-modal-body">
{{yield}}
</div>
Expand Down

0 comments on commit 8a719e9

Please sign in to comment.