Skip to content

Commit cebd019

Browse files
committed
v8.5.1
1 parent 1afaa15 commit cebd019

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "8.5.0",
3+
"version": "8.5.1",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",

published/8.5.1/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GleapNotificationBadge.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ export default class GleapNotificationBadge {
6060
}
6161

6262
_drawFavicon() {
63-
this.faviconEL.setAttribute("href", this.dataURL);
63+
try {
64+
this.faviconEL.setAttribute("href", this.dataURL);
65+
} catch (e) { }
6466
}
6567

6668
_draw() {
@@ -116,7 +118,9 @@ export default class GleapNotificationBadge {
116118
}
117119

118120
set value(val) {
119-
this._value = val;
120-
this.update();
121+
try {
122+
this._value = val;
123+
this.update();
124+
} catch (e) { }
121125
}
122126
}

0 commit comments

Comments
 (0)