Fix: minor
This commit is contained in:
parent
8191c9e42e
commit
3daf47ac46
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user