Browse Source

Fixed some small bugs, disabled font-smoothing

master
Igor Zhukov 11 years ago
parent
commit
1945b99213
  1. 3
      app/css/app.css
  2. 6
      app/index.html
  3. 2
      app/js/app.js
  4. 2
      app/js/controllers.js
  5. 2
      app/partials/im.html

3
app/css/app.css

@ -15,7 +15,7 @@ body { @@ -15,7 +15,7 @@ body {
/*font: 12px/18px "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;*/
/*font: 12px/18px Arial, "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;*/
font: 12px/18px "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;
-webkit-font-smoothing: antialiased;
/*-webkit-font-smoothing: antialiased;*/
}
a {
color: #3a6d99;
@ -853,7 +853,6 @@ div.im_message_video_thumb { @@ -853,7 +853,6 @@ div.im_message_video_thumb {
.im_service_message_photo_thumb {
display: block;
width: 100px;
margin: 0 auto;
}

6
app/index.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<link rel="stylesheet" href="vendor/angular/angular-csp.css"/>
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css"/>
<link rel="stylesheet" href="vendor/jquery.nanoscroller/nanoscroller.css"/>
<link rel="stylesheet" href="css/app.css?8"/>
<link rel="stylesheet" href="css/app.css?9"/>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<meta property="og:title" content="Webogram">
@ -51,9 +51,9 @@ @@ -51,9 +51,9 @@
<script type="text/javascript" src="js/lib/mtproto.js?17"></script>
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="js/app.js?6"></script>
<script type="text/javascript" src="js/app.js?7"></script>
<script type="text/javascript" src="js/services.js?10"></script>
<script type="text/javascript" src="js/controllers.js?14"></script>
<script type="text/javascript" src="js/controllers.js?15"></script>
<script type="text/javascript" src="js/filters.js?3"></script>
<script type="text/javascript" src="js/directives.js?9"></script>

2
app/js/app.js

@ -50,7 +50,7 @@ config(['$locationProvider', '$routeProvider', '$compileProvider', function($loc @@ -50,7 +50,7 @@ config(['$locationProvider', '$routeProvider', '$compileProvider', function($loc
// $locationProvider.html5Mode(true);
$routeProvider.when('/', {templateUrl: 'partials/welcome.html?1', controller: 'AppWelcomeController'});
$routeProvider.when('/login', {templateUrl: 'partials/login.html?2', controller: 'AppLoginController'});
$routeProvider.when('/im', {templateUrl: 'partials/im.html?4', controller: 'AppIMController', reloadOnSearch: false});
$routeProvider.when('/im', {templateUrl: 'partials/im.html?5', controller: 'AppIMController', reloadOnSearch: false});
$routeProvider.otherwise({redirectTo: '/'});
}]);

2
app/js/controllers.js

@ -443,7 +443,7 @@ angular.module('myApp.controllers', []) @@ -443,7 +443,7 @@ angular.module('myApp.controllers', [])
}
var now = +new Date();
if (newVal === undefined || !newVal.length || now - lastTyping < 6000) {
if (newVal === undefined || !newVal.length || now - lastTyping < 5000) {
return;
}
lastTyping = now;

2
app/partials/im.html

@ -43,8 +43,8 @@ @@ -43,8 +43,8 @@
</div>
<div ng-if="historyPeer.id > 0" ng-click="openUser(historyPeer.id)">
<span class="im_history_panel_info_link pull-right">Info</span>
<h4>
<a class="im_history_panel_info_link pull-right" ng-click="openUser(historyPeer.id)">Info</a>
<span ng-bind-html="historyPeer.data.rFullName"></span>
<small class="im_peer_online">{{historyPeer.data | userStatus}}</small>
</h4>

Loading…
Cancel
Save