diff --git a/deeplink-to-native-app.js b/deeplink-to-native-app.js index 8d87caf..87b0018 100755 --- a/deeplink-to-native-app.js +++ b/deeplink-to-native-app.js @@ -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()); + } + }) } };