From 00789467da386c99b3218b0d75b8f51663e4fe47 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 29 Mar 2015 16:10:22 -0700 Subject: [PATCH] Speculative fix for Chrome bug #73395 --- cameragrid.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cameragrid.js b/cameragrid.js index 149d252..21f10ff 100644 --- a/cameragrid.js +++ b/cameragrid.js @@ -382,6 +382,10 @@ CameraGrid.prototype.findMinimumResolution_ = function(tileWidth, tileHeight) { */ CameraGrid.prototype.deletePreviousSiblings_ = function(element) { while (element.previousSibling) { + if (element.previousSibling.nodeName.toUpperCase() == 'IMG') { + // Work around Chrome bug #73395 + element.previousSibling.src = ''; + } element.parentNode.removeChild(element.previousSibling); } };