Skip to content

Commit

Permalink
Alert not supported message if only provided on settings
Browse files Browse the repository at this point in the history
  • Loading branch information
prabeengiri committed Apr 28, 2017
1 parent 6d9c7ef commit 8645d00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deeplink-to-native-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ var NativeAppLauncher = (function($) {
var id = strategyParameters.getAppLauncherEl().attr('id');
$("body").on('click', '#' + id, function(e) {
e.preventDefault();
alert(strategyParameters.getNotSupportedMessage());
if (strategyParameters.getNotSupportedMessage()) {
alert(strategyParameters.getNotSupportedMessage());
}

})
}
};
Expand Down

0 comments on commit 8645d00

Please sign in to comment.