Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/zhukov/webogram
Browse files Browse the repository at this point in the history
  • Loading branch information
zhukov committed Dec 18, 2020
2 parents 99211f1 + e8ffaea commit aae0c67
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/badbrowser.html
Expand Up @@ -28,7 +28,7 @@ <h2>Your browser is outdated!</h2>
</p>
<p>
Unfortunately, your current browser doesn't support HTML5.<br/>
Please download a modern browser and come back soon!
Please download a modern browser or update to latest version and come back soon!
</p>
</div>

Expand Down
3 changes: 2 additions & 1 deletion app/index.html
Expand Up @@ -35,11 +35,12 @@

<meta property="og:title" content="Telegram Web">
<meta property="og:url" content="https://web.telegram.org/">
<meta property="og:image:width" content="236">
<meta property="og:image:height" content="236">
<meta property="og:image" content="https://web.telegram.org/img/logo_share.png">
<meta property="og:site_name" content="Telegram Web">
<meta property="description" content="Welcome to the Web application of Telegram messenger. See https://github.com/zhukov/webogram for more info.">
<meta property="og:description" content="Welcome to the Web application of Telegram messenger. See https://github.com/zhukov/webogram for more info.">

</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion app/js/controllers.js
Expand Up @@ -177,7 +177,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
var badPhone = !fullPhone.match(/^[\d\-+\s]+$/)
if (!badPhone) {
fullPhone = fullPhone.replace(/\D/g, '')
if (fullPhone.length < 7) {
if (fullPhone.length < 7 || fullPhone.length > 15) {
badPhone = true
}
}
Expand Down
1 change: 1 addition & 0 deletions app/less/app.less
Expand Up @@ -2421,6 +2421,7 @@ a.im_message_fwd_photo {
.reply_markup_button_wrap {
display: inline-block;
padding: 0 4px;
vertical-align: bottom;
}
.reply_markup_button {
color: #3a6d99;
Expand Down
2 changes: 1 addition & 1 deletion app/manifest.webapp.json
Expand Up @@ -5,7 +5,7 @@
"display": "standalone",
"theme_color": "#497495",
"gcm_sender_id": "122867383838",
"start_url": "./?utm_source=web_app_manifest",
"start_url": "./",
"scope": "/",
"background_color": "#fff",
"icons": [
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aae0c67

Please sign in to comment.