From bb8a0da71fab249d8b7f1e66c46f889e69feb813 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Fri, 25 Sep 2015 18:55:56 +0800
Subject: Added support of print and unselectable styles, updated vimeo and
youtube parsing method for this
---
public/js/extra.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'public/js/extra.js')
diff --git a/public/js/extra.js b/public/js/extra.js
index 3ad78c9a..cb6676bc 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -117,7 +117,8 @@ function finishView(view) {
dataType: 'jsonp',
success: function (data) {
var thumbnail_src = data[0].thumbnail_large;
- $(value).css('background-image', 'url(' + thumbnail_src + ')');
+ var image = '';
+ $(value).prepend(image);
}
});
});
@@ -496,10 +497,11 @@ var youtubePlugin = new Plugin(
var div = $('