Commit a38ee877 by sopham

default image

parent b5f6562a
...@@ -112,7 +112,7 @@ $(document).ready(function() { ...@@ -112,7 +112,7 @@ $(document).ready(function() {
url: a, url: a,
type: 'HEAD', type: 'HEAD',
error: function() { error: function() {
$('#imagePreview').css('background-image', 'url(upload/default.png)'); $('#imagePreview').css('background-image', 'url(default.png)');
}, },
success: function() { success: function() {
$('#imagePreview').css('background-image', 'url('+ data +')'); $('#imagePreview').css('background-image', 'url('+ data +')');
......
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