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-75d572ba1ddd
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user