From 3fd621cf1d73e6208090ecfe4dac5ffe00a55e17 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 21 Jan 2015 16:14:54 -0800 Subject: [PATCH] Avoid Coffeescript returning list comprehension. --- src/Miscellaneous/AntiAutoplay.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Miscellaneous/AntiAutoplay.coffee b/src/Miscellaneous/AntiAutoplay.coffee index 1f7dbee7a..7d11f2b85 100644 --- a/src/Miscellaneous/AntiAutoplay.coffee +++ b/src/Miscellaneous/AntiAutoplay.coffee @@ -27,4 +27,5 @@ AntiAutoplay = for iframe in $$ 'iframe[src*="youtube"][src*="autoplay=1"]', root iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '') for object in $$ 'object[data*="youtube"][data*="autoplay=1"]', root - object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '') \ No newline at end of file + object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '') + return \ No newline at end of file