Simon Hunt

GUI -- Protect against non-existent link element.

Change-Id: I6638de69c9d826c7697468727004c4392bf4925a
......@@ -874,7 +874,12 @@
}
function linkExisting(d) {
restyleLinkElement(d, true);
// this is supposed to be an existing link, but we have observed
// occasions (where links are deleted and added rapidly?) where
// the DOM element has not been defined. So protection against that...
if (d.el) {
restyleLinkElement(d, true);
}
}
function linkEntering(d) {
......