mirror of https://github.com/BTCPrivate/copay.git
Removed old unused notifications. Fixes template url for new notifications
This commit is contained in:
parent
898e5a12ef
commit
8974847f48
|
@ -23,18 +23,6 @@ angular.module('copayApp.directives')
|
|||
};
|
||||
}
|
||||
])
|
||||
.directive('notification', ['$rootScope',
|
||||
function($rootScope) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function(scope, element, attrs, ctrl) {
|
||||
setTimeout(function() {
|
||||
scope.$apply(function() {});
|
||||
}, 5000);
|
||||
}
|
||||
};
|
||||
}
|
||||
])
|
||||
.directive('enoughAmount', ['$rootScope',
|
||||
function($rootScope) {
|
||||
var bitcore = require('bitcore');
|
||||
|
|
|
@ -254,7 +254,7 @@ directive('notifications', function(notification, $compile) {
|
|||
return {
|
||||
restrict: 'A',
|
||||
scope: {},
|
||||
template: '<div ng-include="\'views/includes/notifications.html\'"></div>',
|
||||
templateUrl: 'views/includes/notifications.html',
|
||||
link: link,
|
||||
controller: ['$scope',
|
||||
function NotificationsCtrl($scope) {
|
||||
|
|
Loading…
Reference in New Issue