     # This also helps us avoid briefly displaying the old image with the new dimensions, which
     # can otherwise take some hoop jumping to prevent.
     ###
-    jQuery(@img).off()
+    $(@img).off()
     @img = removeImageElement @img
 
     # If this post is blacklisted, show a message instead of displaying it.

    # the image will actually be sent to the containing box directly.
    ###
    @img.setStyle pointerEvents: 'none'
    jQuery(@img).on 'load', @image_loaded_event
    @img.fully_loaded = false
    if post_frame != -1 && post_frame < post.frames.length
      frame = post.frames[post_frame]

    return if @current_ajax_request?

    ok = false
    @current_ajax_request = $.ajax
      url: '/post.json'
      method: 'get'
      dataType: 'json'
