Report progress on GeoLite2 download
This commit is contained in:
parent
d50603f722
commit
ed965041e6
3 changed files with 15 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue