Commit 2ec4ac55 authored by Akikonata's avatar Akikonata

IE svg

parent 123f518d
...@@ -70,10 +70,10 @@ KM.registerToolbarUI( 'saveto', function ( name ) { ...@@ -70,10 +70,10 @@ KM.registerToolbarUI( 'saveto', function ( name ) {
if ( typeof ( data ) == 'string' ) { if ( typeof ( data ) == 'string' ) {
var url = 'data:text/plain; utf-8,' + encodeURIComponent( data ); var url = 'data:text/plain; utf-8,' + encodeURIComponent( data );
if ( ie_ver() > 0 ) { if ( ie_ver() > 0 ) {
console.log( p.fileExtension );
if ( p.fileExtension === '.km' ) { if ( p.fileExtension === '.km' ) {
doSave( 'application/x-javascript', data, me.getMinderTitle() ); doSave( 'application/x-javascript', data, me.getMinderTitle() );
} else( p.fileExtension === '.svg' ) { } else( p.fileExtension === '.svg' ) {
alert( '22222' );
doSave( 'image/svg+xml', data, filename ); doSave( 'image/svg+xml', data, filename );
} else { } else {
doSave( 'text/html', data, filename ); doSave( 'text/html', data, filename );
......
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