accept float values in case ever any added to menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2732 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
3e6dbcb111
commit
5439b4dc73
|
@ -3275,7 +3275,7 @@ TO-DOS
|
|||
if (val) {
|
||||
zoomChanged(window, val);
|
||||
} else {
|
||||
changeZoom({value: parseInt(item.text(), 10)});
|
||||
changeZoom({value: parseFloat(item.text())});
|
||||
}
|
||||
}, true);
|
||||
|
||||
|
@ -4948,7 +4948,7 @@ TO-DOS
|
|||
editor.openPrep(function(ok) {
|
||||
if (!ok) {return;}
|
||||
svgCanvas.clear();
|
||||
if (f.files.length==1) {
|
||||
if (f.files.length === 1) {
|
||||
$.process_cancel(uiStrings.notification.loadingImage);
|
||||
var reader = new FileReader();
|
||||
reader.onloadend = function(e) {
|
||||
|
|
Loading…
Reference in New Issue