mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
Added check for callback to alert functionality of ionPopup
This commit is contained in:
parent
0912292823
commit
2fddbb1498
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ IonPopup = {
|
|||
text: options.okText ? options.okText : 'Ok',
|
||||
type: options.okType ? options.okType : 'button-positive',
|
||||
onTap: function(event) {
|
||||
options.onOk(event);
|
||||
if (options.onOk) options.onOk(event);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue