Commit dedc95d2 by doszhang

dos

parent 109cc7e4
...@@ -95,12 +95,12 @@ $(document).ready(function () { ...@@ -95,12 +95,12 @@ $(document).ready(function () {
$('.flag-page .btn-change').on('click', randomFlag); $('.flag-page .btn-change').on('click', randomFlag);
//选择flag //选择flag
$('.flag-page .flag-block').on('click', { $('.flag-page .flag-block').on('click', {
this: this that: this
}, addFlag); }, addFlag);
}); });
function addFlag(this) { function addFlag(that) {
console.log(this); console.log(that);
} }
function showFlagPage() { function showFlagPage() {
......
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 sign in to comment