mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04: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:
@@ -1465,7 +1465,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);
|
||||
|
||||
File diff suppressed because one or more lines are too long
6
inst/www/shared/shiny.min.js
vendored
6
inst/www/shared/shiny.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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