Add a check for name in Firefox/Safari
Change-Id: I89649cb9415d34b769a54a277d51ce722ffe146b
This commit is contained in:
@@ -439,7 +439,12 @@
|
||||
console.warn(`${name} install failed: ${e.name}: ${e.message}`);
|
||||
}
|
||||
// Don't double count plugins that may have an html and js install.
|
||||
if (!existingPlugin) {
|
||||
// TODO(beckysiegel) remove name check once name issue is resolved.
|
||||
// If there isn't a name, it's due to an issue with the polyfill for
|
||||
// html imports in Safari/Firefox. In this case, other plugin related
|
||||
// features may still be broken, but still make sure to call.
|
||||
// _pluginInstalled.
|
||||
if (!name || !existingPlugin) {
|
||||
Gerrit._pluginInstalled();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user