Skip to content

Commit

Permalink
fix image transition test - but why does it work?
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Nov 21, 2024
1 parent 58c69e9 commit 148c693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jasmine/tests/transition_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('Plots.transition', function() {
var pythonLogo = 'https://images.plot.ly/language-icons/api-home/python-logo.png';

function imageel() {
return gd._fullLayout._imageUpperLayer.select('image').node();
return gd._fullLayout._imageUpperLayer.node().querySelector('image');
}
function imagesrc() {
return imageel().getAttribute('href');
Expand Down

0 comments on commit 148c693

Please sign in to comment.