mirror of
https://github.com/mayswind/AriaNg.git
synced 2026-02-09 02:49:26 +08:00
fix quick setting dialog cannot display after closed sometimes
This commit is contained in:
@@ -50,9 +50,11 @@
|
||||
};
|
||||
|
||||
angular.element('#quickSettingModal').on('hidden.bs.modal', function () {
|
||||
scope.setting = null;
|
||||
scope.context.availableOptions = [];
|
||||
scope.context.globalOptions = [];
|
||||
scope.$apply(function () {
|
||||
scope.setting = null;
|
||||
scope.context.availableOptions = [];
|
||||
scope.context.globalOptions = [];
|
||||
});
|
||||
});
|
||||
|
||||
scope.$watch('setting', function (setting) {
|
||||
|
||||
Reference in New Issue
Block a user