telegram button in travel view fixed

This commit is contained in:
arnaucode
2018-04-26 22:09:02 +02:00
parent cc1093f548
commit e1059a478c
3 changed files with 6 additions and 2 deletions

View File

@@ -285,4 +285,8 @@ angular.module('app.travel', ['pascalprecht.translate', 'ui-leaflet'])
//console.log("i: -1");
return -1;
};
$scope.openTelegram = function(telegramuser) {
window.open('http://telegram.me/' + telegramuser, '_system', 'location=yes');
return false;
};
});