Skip to content

Commit

Permalink
#18
Browse files Browse the repository at this point in the history
  • Loading branch information
minghe committed Sep 3, 2012
1 parent d6bcd97 commit 9cfb852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gallery/form/1.3/uploader/themes/imageUploader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ KISSY.add(function (S, Node, Theme) {
$img = $('.J_Pic_' + id);
if(!S.isObject(data)) return false;
url = data.url;
if($img.attr('src') == EMPTY){
if($img.attr('src') == EMPTY || S.UA.safari){
$img.show();
$img.attr('src',url);
}
Expand Down
2 changes: 1 addition & 1 deletion gallery/form/1.3/uploader/themes/refundUploader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ KISSY.add(function (S, Node, Theme) {
$img = $('.J_Pic_' + id);
if(!S.isObject(data)) return false;
url = data.sUrl || data.url;
if($img.attr('src') == EMPTY){
if($img.attr('src') == EMPTY || S.UA.safari){
$img.show();
$img.attr('src',url);
}
Expand Down

0 comments on commit 9cfb852

Please sign in to comment.