Browse Source

fixed typos

pull/880/head
Nico Höllerich 5 years ago
parent
commit
b0aa304ae4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/js/pannellum.js

+ 2
- 2
src/js/pannellum.js View File

@@ -2217,7 +2217,7 @@ function zoomOut() {
}

/**
* Clamps horzontal field of view to viewer's limits.
* Clamps horizontal field of view to viewer's limits.
* @private
* @param {number} hfov - Input horizontal field of view (in degrees)
* @return {number} - Clamped horizontal field of view (in degrees)
@@ -2481,7 +2481,7 @@ function sanitizeURL(url) {
}

/**
* Removes possibility of XSS atacks with URLs for CSS.
* Removes possibility of XSS attacks with URLs for CSS.
* The URL will be sanitized with `sanitizeURL()` and single quotes
* and double quotes escaped.
* @private


Loading…
Cancel
Save