Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daimakuai committed Jan 27, 2018
1 parent c419200 commit 1c85dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ use daimakuai\captcha\Captcha;
$form->field($model, 'verifyCode')->widget(Captcha::className())
?>

<?php echo Captcha::widget(['name'=>'captchaimg','captchaAction'=>'captcha']); ?>
2 changes: 1 addition & 1 deletion assets/yii.captcha.validation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var validation = yii.validation;
var validation = var validation = new Object();//yii.validation;

validation.changeInvalidNumbers = function(input){
var enNumbers = {
Expand Down

0 comments on commit 1c85dd7

Please sign in to comment.