Skip to content

Commit 3cc1253

Browse files
committed
test: adapt test for (possible) trailing url hashes
1 parent 6716b9f commit 3cc1253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/plot_interact_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ describe('plot svg clip paths', function() {
657657
.attr('href', 'https://plot.ly');
658658

659659
// grab window URL
660-
var href = window.location.href;
660+
var href = window.location.href.split('#')[0];
661661

662662
plot().then(function() {
663663

0 commit comments

Comments
 (0)