mirror of
https://github.com/discourse/discourse.git
synced 2026-08-03 01:49:44 -05:00
FIX: delete dataset doesn’t work on safari
This commit is contained in:
@@ -24,7 +24,7 @@ function hide(image) {
|
||||
image.removeAttribute("srcset");
|
||||
|
||||
image.src = image.dataset.smallUpload || LOADING_DATA;
|
||||
delete image.dataset.smallUpload;
|
||||
image.removeAttribute("data-small-upload");
|
||||
}
|
||||
|
||||
// Restore an image when onscreen
|
||||
|
||||
Reference in New Issue
Block a user