Use a nicer URL for the error descriptions

This commit is contained in:
Andreas Hocevar
2016-08-03 09:38:15 +02:00
parent 6f5ed17fc5
commit 55ab5704d4
4 changed files with 4 additions and 4 deletions

View File

@@ -329,7 +329,7 @@ ol.AssertionError = function(code) {
*/
this.message = 'Assertion failed. See ' +
(ol.VERSION ? 'http://openlayers.org/en/' + ol.VERSION.split('-')[0] : '') +
'/doc/errors.html#' + code + ' for details.';
'/doc/errors/#' + code + ' for details.';
/**
* Error code. The meaning of the code can be found on