mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-30 22:34:53 +00:00
[avatar_change] modified chg_btn_orig_bg get for ie 7,8
This commit is contained in:
parent
f6b0dc5d8d
commit
09a070ca2e
@ -1,7 +1,7 @@
|
||||
{% load i18n %}
|
||||
<script type="text/javascript">
|
||||
function changeAvatar(chg_btn, input, form) {
|
||||
var chg_btn_orig_bg = chg_btn.css('background');
|
||||
var chg_btn_orig_bg = chg_btn.css('background-color'); // ie 7,8: chg_btn.css('background') gets 'undefined'
|
||||
form.css({'width': chg_btn.outerWidth()});
|
||||
input
|
||||
.css({'height': chg_btn.outerHeight()})
|
||||
|
Loading…
Reference in New Issue
Block a user