Browse Source

Small bugfixes

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

2
app/js/directives.js

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

2
gulpfile.js

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

Loading…
Cancel
Save