mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-06 04:35:13 -05:00
Merge remote-tracking branch 'origin/image-attr'
Conflicts: inst/www/shared/shiny.js inst/www/shared/shiny.js.map inst/www/shared/shiny.min.js inst/www/shared/shiny.min.js.map
This commit is contained in:
@@ -65,7 +65,7 @@ $.extend(imageOutputBinding, {
|
||||
// Copy items from data to img. This should include 'src'
|
||||
$.each(data, function(key, value) {
|
||||
if (value !== null)
|
||||
img[key] = value;
|
||||
img.setAttribute(key, value);
|
||||
});
|
||||
|
||||
var $img = $(img);
|
||||
|
||||
Reference in New Issue
Block a user