mirror of
https://github.com/szimek/sharedrop.git
synced 2026-06-16 21:10:54 +08:00
Hopefully fix issue with clicking links in modal dialogs
This commit is contained in:
parent
f7718f1a47
commit
e577b15713
@ -4,8 +4,6 @@ export default Ember.Component.extend({
|
||||
actions: {
|
||||
close: function () {
|
||||
return this.sendAction();
|
||||
},
|
||||
|
||||
nop: function () {}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
|
||||
.modal-body
|
||||
position: absolute
|
||||
z-index: 301
|
||||
top: 10%
|
||||
left: 0
|
||||
right: 0
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
<div class="modal-overlay" {{action "close"}}>
|
||||
<div class="modal-body" {{action "nop" bubbles=false preventDefault=true}}>
|
||||
{{yield}}
|
||||
</div>
|
||||
<div class="modal-overlay" {{action "close"}}></div>
|
||||
<div class="modal-body">
|
||||
{{yield}}
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user