From 1cb7f9c6c15dc910e9016ed9c1f28564026ee9f1 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 3 Mar 2013 02:06:36 +0100 Subject: [PATCH] Missing selection context. --- 4chan_x.user.js | 4 ++-- src/main.coffee | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 146a9a15e..b837c1533 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -20,7 +20,7 @@ // @icon data:image/gif;base64,R0lGODlhEAAQAKECAAAAAGbMM////////yH5BAEKAAIALAAAAAAQABAAAAIxlI+pq+D9DAgUoFkPDlbs7lGiI2bSVnKglnJMOL6omczxVZK3dH/41AG6Lh7i6qUoAAA7 // ==/UserScript== -/* 4chan X Beta - Version 3.0.0 - 2013-03-02 +/* 4chan X Beta - Version 3.0.0 - 2013-03-03 * http://mayhemydg.github.com/4chan-x/ * * Copyright (c) 2009-2011 James Campos @@ -7188,7 +7188,7 @@ this.file.info = file.firstElementChild; this.file.text = this.file.info.firstElementChild; this.file.thumb = $('img[data-md5]', file); - this.file.fullImage = $('.full-image'); + this.file.fullImage = $('.full-image', file); } if (origin.isDead) { this.isDead = true; diff --git a/src/main.coffee b/src/main.coffee index d17457f86..7fcfcec01 100644 --- a/src/main.coffee +++ b/src/main.coffee @@ -250,7 +250,7 @@ class Clone extends Post @file.info = file.firstElementChild @file.text = @file.info.firstElementChild @file.thumb = $ 'img[data-md5]', file - @file.fullImage = $ '.full-image' + @file.fullImage = $ '.full-image', file @isDead = true if origin.isDead @isClone = true