mirror of
https://github.com/moparisthebest/mail
synced 2025-03-09 22:29:40 -04:00
Remove $parse from frameLoad directive
This commit is contained in:
parent
c272b4f937
commit
36c08cdbb1
@ -330,7 +330,7 @@ define(function(require) {
|
||||
};
|
||||
});
|
||||
|
||||
ngModule.directive('frameLoad', function($parse, $sce, $timeout) {
|
||||
ngModule.directive('frameLoad', function($sce, $timeout) {
|
||||
return function(scope, elm, attrs) {
|
||||
scope.$watch(attrs.frameLoad, function(value) {
|
||||
scope.html = undefined;
|
||||
@ -353,4 +353,4 @@ define(function(require) {
|
||||
});
|
||||
|
||||
return ReadCtrl;
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user