From 5dbd4fbd648e0e82968b1a69eb9cb68438ad456d Mon Sep 17 00:00:00 2001 From: Tyler Distad Date: Wed, 2 Dec 2015 18:57:16 -0500 Subject: [PATCH] s/exits/exists/ in gdElement existence check error message --- src/plot_api/plot_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;