diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js index da47a6eb41b..4c24b172103 100644 --- a/src/plot_api/plot_api.js +++ b/src/plot_api/plot_api.js @@ -369,7 +369,7 @@ function getGraphDiv(gd) { gdElement = document.getElementById(gd); if(gdElement === null) { - throw new Error('No DOM element with id \'' + gd + '\' exits on the page.'); + throw new Error('No DOM element with id \'' + gd + '\' exists on the page.'); } return gdElement;