Browse Source

Small bugfixes

master
Igor Zhukov 10 years ago
parent
commit
859eda650d
  1. 2
      app/css/app.css
  2. 2
      app/js/directives.js
  3. 2
      gulpfile.js

2
app/css/app.css

@ -2477,7 +2477,7 @@ a.peer_photo_init:focus {
-o-filter: blur(2px); -o-filter: blur(2px);
-ms-filter: blur(2px); -ms-filter: blur(2px);
filter: blur(2px); filter: blur(2px);
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='2'); filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='2');
margin: -1px; margin: -1px;
padding: 1px; padding: 1px;
max-width: 100%; max-width: 100%;

2
app/js/directives.js

@ -2217,7 +2217,7 @@ angular.module('myApp.directives', ['myApp.filters'])
if (element[0].tagName == 'A' && !attrs.noOpen) { if (element[0].tagName == 'A' && !attrs.noOpen) {
element.on('click', function (e) { element.on('click', function (e) {
if (peerID > 0) { if (peerID > 0) {
AppUsersManager.openUser(peerID, attrs.userOverride && $eval(attrs.userOverride)); AppUsersManager.openUser(peerID, attrs.userOverride && $scope.$eval(attrs.userOverride));
} else { } else {
AppChatsManager.openChat(-peerID); AppChatsManager.openChat(-peerID);
} }

2
gulpfile.js

@ -147,7 +147,7 @@ gulp.task('add-appcache-manifest', function() {
var sources = [ var sources = [
'./dist/**/*', './dist/**/*',
'!dist/manifest.*', '!dist/manifest.*',
'!dist/index.html', '!dist/*.html',
'!dist/fonts/*', '!dist/fonts/*',
'!dist/img/icons/icon*.png', '!dist/img/icons/icon*.png',
'!dist/js/background.js' '!dist/js/background.js'

Loading…
Cancel
Save