Commit 2ef1c300 by Alexander Makarov

Merge pull request #1353 from jfragoulis/master

really small doc typo fix
parents d803b6f4 d4b88555
...@@ -58,14 +58,14 @@ yii = (function ($) { ...@@ -58,14 +58,14 @@ yii = (function ($) {
changeableSelector: 'select, input, textarea', changeableSelector: 'select, input, textarea',
/** /**
* @return string|undefined the CSRF variable name. Undefined is returned is CSRF validation is not enabled. * @return string|undefined the CSRF variable name. Undefined is returned if CSRF validation is not enabled.
*/ */
getCsrfVar: function () { getCsrfVar: function () {
return $('meta[name=csrf-var]').prop('content'); return $('meta[name=csrf-var]').prop('content');
}, },
/** /**
* @return string|undefined the CSRF token. Undefined is returned is CSRF validation is not enabled. * @return string|undefined the CSRF token. Undefined is returned if CSRF validation is not enabled.
*/ */
getCsrfToken: function () { getCsrfToken: function () {
return $('meta[name=csrf-token]').prop('content'); return $('meta[name=csrf-token]').prop('content');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment