Skip to content

Commit 1ce4702

Browse files
committed
Merge pull request #64 from tlrdstd/fix_typo_in_gdElement_check
s/exits/exists/ in gdElement existence check error message
2 parents b6df8ab + 5dbd4fb commit 1ce4702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function getGraphDiv(gd) {
369369
gdElement = document.getElementById(gd);
370370

371371
if(gdElement === null) {
372-
throw new Error('No DOM element with id \'' + gd + '\' exits on the page.');
372+
throw new Error('No DOM element with id \'' + gd + '\' exists on the page.');
373373
}
374374

375375
return gdElement;

0 commit comments

Comments
 (0)