Fix: minor

This commit is contained in:
eight 2020-02-01 08:50:12 +08:00
parent 8191c9e42e
commit 3daf47ac46

View File

@ -723,14 +723,9 @@ function unembedOptions() {
options.classList.add('fadeout');
animateElement(options, {
className: 'fadeout',
onComplete: removeOptions,
onComplete: () => options.remove(),
});
}
function removeOptions() {
const options = $('#stylus-embedded-options');
if (options) options.remove();
}
}
router.watch({hash: '#stylus-options'}, state => {