diff --git a/public/javascripts/wechat/directives/alert.js b/public/javascripts/wechat/directives/alert.js index e10bd4a0b..4b703811c 100644 --- a/public/javascripts/wechat/directives/alert.js +++ b/public/javascripts/wechat/directives/alert.js @@ -30,9 +30,6 @@ app.directive('myAlert2', ['config', function(config){ link: function(scope){ scope.dismiss = function(){ scope.visible = false; - if(typeof scope.cb === 'function'){ - scope.cb(); - } }; scope.confirm = function(){ scope.visible = false;