Browse Source

Fix two missing semicolons in Hamsket Service API. No functional change.

pull/3202/head
TheGoddessInari 4 years ago
parent
commit
99b5bb6d04
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 4
      resources/js/hamsket-service-api.js

4
resources/js/hamsket-service-api.js

@ -37,7 +37,7 @@ window.hamsket.updateBadge = function(direct, indirect = 0) {
*/
window.hamsket.clearUnreadCount = function() {
ipcRenderer.sendToHost('hamsket.clearUnreadCount');
}
};
window.hamsket.parseIntOrZero = function (n) {
const result = parseInt(n, 10);
@ -79,4 +79,4 @@ Notification.prototype = NativeNotification.prototype;
Notification.permission = NativeNotification.permission;
Notification.requestPermission = NativeNotification.requestPermission.bind(Notification);
window.close = function() { location.href = location.origin };
window.close = function() { location.href = location.origin; };

Loading…
Cancel
Save