Commit b77945c8 by doszhang

dos

parent e0d07b53
......@@ -231,7 +231,7 @@ $('.flag-frame').html('').addClass('clearfix');
//自定义flag的placeholder
// $('input[name=customize-flag]').attr('placeholder', '也能在这里写你的flag哦');
$('input[name=customize-flag]').css('color', '#dba178').val('也能在这里写下你的Flag哦');
$('input[name=customize-flag]').css('color', '#e29e77').val('也能在这里写下你的Flag哦');
//署名的placeholder
$('input[name=signature]').attr('placeholder', '准备好了,就在此署名吧').attr('disabled', true).attr('id', 'signature');
......@@ -259,7 +259,7 @@ $(document).ready(function () {
window.scroll(0, 0); //失焦后强制让页面归位
if ($(this).attr('name') != 'signature') {
if ($('input[name=customize-flag]').val().match(/^\s*$/)) {
$('input[name=customize-flag]').css('color', '#dba178').val('也能在这里写下你的Flag哦');
$('input[name=customize-flag]').css('color', '#e29e77').val('也能在这里写下你的Flag哦');
}
}
});
......@@ -878,7 +878,8 @@ function addCustomizeFlag() {
flagStack.push(text);
addFlagToList(text);
$('.flag-page .choose-num').text((chooseNum++) + 1);
$('input[name=customize-flag]').css('color', '#878787').val('也能在这里写下你的Flag哦');
$('input[name=customize-flag]').css('color', '#e29e77').val('也能在这里写下你的Flag哦');
//mark
}
function addFlag(e) {
......
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