Максим Кудрявцев %!s(int64=6) %!d(string=hai) anos
pai
achega
f3fd5e1bd0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/js/Menubar.File.js

+ 1 - 1
editor/js/Menubar.File.js

@@ -397,7 +397,7 @@ Menubar.File = function ( editor ) {
 
 		link.href = URL.createObjectURL( blob );
 		link.download = filename || 'data.json';
-		link.dispatchEvent( new MouseEvent('click') );
+		link.dispatchEvent( new MouseEvent( 'click' ) );
 
 		// URL.revokeObjectURL( url ); breaks Firefox...