socialforge/app/views/avatar/upload.js.erb

5 lines
111 B
Plaintext
Raw Normal View History

var imgSpan = jQuery('#avatar_image');
2013-08-01 10:33:49 +08:00
2015-05-08 14:28:17 +08:00
imgSpan.attr({"src":'<%= "#{@urlfile.to_s}?#{Time.now.to_i}" %>'});
2013-08-01 10:33:49 +08:00