Report progress on GeoLite2 download

This commit is contained in:
shortcutme 2017-10-21 11:01:57 +02:00
parent d50603f722
commit ed965041e6
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
3 changed files with 15 additions and 9 deletions

View file

@ -13,7 +13,7 @@ class Notifications
add: (id, type, body, timeout=0) ->
id = id.replace /[^A-Za-z0-9]/g, ""
id = id.replace /[^A-Za-z0-9-]/g, ""
# Close notifications with same id
for elem in $(".notification-#{id}")
@close $(elem)

View file

@ -711,7 +711,7 @@ jQuery.extend( jQuery.easing,
if (timeout == null) {
timeout = 0;
}
id = id.replace(/[^A-Za-z0-9]/g, "");
id = id.replace(/[^A-Za-z0-9-]/g, "");
ref = $(".notification-" + id);
for (i = 0, len = ref.length; i < len; i++) {
elem = ref[i];
@ -807,6 +807,7 @@ jQuery.extend( jQuery.easing,
}).call(this);
/* ---- src/Ui/media/Wrapper.coffee ---- */
@ -1562,4 +1563,4 @@ jQuery.extend( jQuery.easing,
window.wrapper = new Wrapper(ws_url);
}).call(this);
}).call(this);