diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-26 19:46:11 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-26 19:46:11 +0300 |
commit | d41a89d8730fb5c5d791cab88e5aef728f321e0f (patch) | |
tree | bb6ad9595c22e9c62411a0d6b0206165751adb09 | |
parent | 336de5a1d2969c0ecaed853d85879734c24f326e (diff) |
Rename getRequestToken to getPublicToken
[ci skip]
-rw-r--r-- | js/app.js | 2 | ||||
-rw-r--r-- | js/galleryutility.js | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ $(document).ready(function () { Gallery.hideSearch(); Gallery.utility = new Gallery.Utility(); Gallery.view = new Gallery.View(); - Gallery.token = Gallery.utility.getRequestToken(); + Gallery.token = Gallery.utility.getPublicToken(); Gallery.ieVersion = Gallery.utility.getIeVersion(); // The first thing to do is to detect if we're on IE diff --git a/js/galleryutility.js b/js/galleryutility.js index c73b391a..4166121c 100644 --- a/js/galleryutility.js +++ b/js/galleryutility.js @@ -72,11 +72,11 @@ }, /** - * Returns the token allowing access to files + * Returns the token allowing access to files shared via link * * @returns {string} */ - getRequestToken: function () { + getPublicToken: function () { var element = $('#gallery'); var token; |