diff --git a/framework/yii/assets/yii.js b/framework/yii/assets/yii.js index b9f2cdd..c5904a1 100644 --- a/framework/yii/assets/yii.js +++ b/framework/yii/assets/yii.js @@ -58,14 +58,14 @@ yii = (function ($) { 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 () { 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 () { return $('meta[name=csrf-token]').prop('content');