Commit 473e2b73 authored by Akikonata's avatar Akikonata

兼容IE

parent 2a119e9c
......@@ -39,7 +39,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
evt = new MouseEvent( 'click' );
} catch ( error ) {
evt = document.createEvent( 'MouseEvents' );
evt.initMouseEvent( 'click', true, true );
evt.initEvent( 'click', true, true );
}
a.dispatchEvent( evt );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment