竞赛上传图片的弹框“上传图片”手势修改
This commit is contained in:
parent
83c00d1225
commit
0e10e52fdf
|
@ -6,7 +6,7 @@
|
|||
</div>
|
||||
<div class="">
|
||||
<div style="margin: 10px 20px;">
|
||||
<a type="button" class="BlueCirBtn" onclick="$('#upload_avatar').click();">上传图片</a>
|
||||
<a class="BlueCirBtn" onclick="$('#upload_avatar').click();" style="cursor: pointer;">上传图片</a>
|
||||
<%= file_field_tag 'avatar[image]',
|
||||
:id => "upload_avatar",
|
||||
:style => 'display:none;',#added by young
|
||||
|
|
|
@ -1572,7 +1572,7 @@ function pop_box_new(value, Width, Height){
|
|||
|
||||
new Drag("popupWrap");
|
||||
|
||||
$("#popupWrap input, #popupWrap textarea, #popupWrap ul").mousedown(function(event){
|
||||
$("#popupWrap input, #popupWrap textarea, #popupWrap ul, #popupWrap a").mousedown(function(event){
|
||||
event.stopPropagation();
|
||||
new Drag("popupWrap");
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue