mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-21 21:01:30 +08:00
#47 - Adds various translations in English, and a few code improvements.
This commit is contained in:
@ -845,9 +845,9 @@ module.exports = function (ngApp, events) {
|
||||
scope.closeBox = function () {
|
||||
element.remove();
|
||||
scope.$destroy();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
ngApp.directive('commentEdit', [function () {
|
||||
@ -855,7 +855,7 @@ module.exports = function (ngApp, events) {
|
||||
restrict: 'E',
|
||||
templateUrl: 'comment-reply.html',
|
||||
scope: {
|
||||
comment: '=',
|
||||
comment: '='
|
||||
},
|
||||
link: function (scope, element) {
|
||||
scope.isEdit = true;
|
||||
@ -872,9 +872,9 @@ module.exports = function (ngApp, events) {
|
||||
scope.closeBox = function () {
|
||||
element.remove();
|
||||
scope.$destroy();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user