Browse Source

Loading: remove parent class when directive is unbound

Leopoldthecoder 7 years ago
parent
commit
42849a89fe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/loading/src/directive.js

+ 1 - 0
packages/loading/src/directive.js

@@ -107,6 +107,7 @@ exports.install = Vue => {
         el.mask &&
         el.mask &&
         el.mask.parentNode &&
         el.mask.parentNode &&
         el.mask.parentNode.removeChild(el.mask);
         el.mask.parentNode.removeChild(el.mask);
+        toggleLoading(el, { value: false, modifiers: binding.modifiers });
       }
       }
     }
     }
   });
   });