mirror of
https://github.com/qurator-spk/neat.git
synced 2025-06-11 20:59:54 +02:00
fix #35
This commit is contained in:
parent
16309d8b78
commit
718cfbafee
1 changed files with 5 additions and 5 deletions
10
neath.js
10
neath.js
|
@ -41,7 +41,7 @@ function loadFile(evt, onComplete) {
|
|||
escapeChar: String.fromCharCode(0),
|
||||
comments: "#",
|
||||
skipEmptyLines: true,
|
||||
dynamicTyping: true,
|
||||
dynamicTyping: false,
|
||||
complete: function(results) { onComplete(results, file, urls); }
|
||||
});
|
||||
}
|
||||
|
@ -130,10 +130,10 @@ function setupInterface(data, file, urls) {
|
|||
if (img_url == "http://empty")
|
||||
return
|
||||
|
||||
let left = data.data[nRow]['left'];
|
||||
let right = data.data[nRow]['right'];
|
||||
let top = data.data[nRow]['top'];
|
||||
let bottom = data.data[nRow]['bottom'];
|
||||
let left = parseInt(data.data[nRow]['left']);
|
||||
let right = parseInt(data.data[nRow]['right']);
|
||||
let top = parseInt(data.data[nRow]['top']);
|
||||
let bottom = parseInt(data.data[nRow]['bottom']);
|
||||
|
||||
top = Math.max(0, top - 25);
|
||||
bottom = bottom + 25;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue