Update content of files

This commit is contained in:
GitHub Action 2022-12-15 19:37:50 +00:00
parent 739ba21fdb
commit 4f583901fa
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@
<div class="viewport-stable_border"></div> <div class="viewport-stable_border"></div>
<script src="/js/jquery.min.js"></script> <script src="/js/jquery.min.js"></script>
<script src="https://tg.dev/js/bootstrap.min.js"></script> <script src="https://tg.dev/js/bootstrap.min.js"></script>
<script src="/js/webappdemo.js?8"></script> <script src="/js/webappdemo.js?9"></script>
<script> <script>
Telegram.WebApp.onEvent('themeChanged', function() { Telegram.WebApp.onEvent('themeChanged', function() {
$('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2)); $('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2));

View file

@ -193,7 +193,7 @@ var DemoApp = {
text: links_only ? 'with any link' : 'for test purposes' text: links_only ? 'with any link' : 'for test purposes'
}, function(text) { }, function(text) {
if (links_only) { if (links_only) {
var lower_text = text.toSting().toLowerCase(); var lower_text = text.toString().toLowerCase();
if (lower_text.substr(0, 7) == 'http://' || if (lower_text.substr(0, 7) == 'http://' ||
lower_text.substr(0, 8) == 'https://') { lower_text.substr(0, 8) == 'https://') {
setTimeout(function() { setTimeout(function() {