Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

Commit 29cd56a

Browse files
committed
Merge pull request #4 from gpetrica/master
fix alert crashing on ios
2 parents b929469 + 58ba977 commit 29cd56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var SimpleAlert = {
3232
for(let j=0; j<_buttonConfig.length; j++) {
3333
if("type" && _buttonConfig[j]) delete _buttonConfig[j]['type'];
3434
}
35-
AlertIOS.alert.apply(null, [title, text, _buttonConfig]);
35+
AlertIOS.alert.apply(AlertIOS, [title, text, _buttonConfig]);
3636
} else {
3737
let _masterCallback = (buttonType) => {
3838
for(let j=0; j<_buttonConfig.length; j++) {

0 commit comments

Comments
 (0)