projects
/
MojoFacets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correctly check if x and y are defined
[MojoFacets.git]
/
public
/
edit_table.js
diff --git
a/public/edit_table.js
b/public/edit_table.js
index
9914a3c
..
f57f833
100644
(file)
--- a/
public/edit_table.js
+++ b/
public/edit_table.js
@@
-16,7
+16,7
@@
var cell_blur = function() {
var x = $(this).parent().index();
var y = $(this).parent().parent().index();
- if (
! x || ! y
) {
+ if (
x == null || y == null
) {
console.error('no x ', x, ' or y ', y, ' defined');
return;
}