This addresses the following console error when switching from the
graph tab to the list tab:

System JS : ERROR resource://gre/modules/XPIProvider.jsm
 -> jar:file:///tmp/tmpEhX8Bu.mozrunner/extensions/jid1-F9UJ2thwoAm5gQ@jetpack.xpi!/bootstrap.js
 -> resource://gre/modules/commonjs/toolkit/loader.js
 -> resource://gre/modules/commonjs/sdk/loader/sandbox.js
 -> resource://jid1-f9uj2thwoam5gq-at-jetpack/lightbeam/data/graph.js:270 - TypeError: force is null
This commit is contained in:
Francois Marier 2014-05-19 16:58:56 +12:00
Родитель 656bd7a060
Коммит 7041a8dc0c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -267,7 +267,9 @@ function initGraph() {
});
var endDraw = Date.now();
draws.push(endDraw - lastTick);
nodes.call(force.drag);
if (force) {
nodes.call(force.drag);
}
ticking = false;
});