From 6ded0ea83313ffd06df782ef8344fd7c69abbfe7 Mon Sep 17 00:00:00 2001 From: umbrae Date: Thu, 24 Apr 2014 15:36:05 -0700 Subject: [PATCH] Trigger a reflow on CSS preview so webkit browsers reset animations. --- r2/r2/public/static/js/jquery.reddit.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/r2/r2/public/static/js/jquery.reddit.js b/r2/r2/public/static/js/jquery.reddit.js index b24a95c96..e88ddcb7e 100644 --- a/r2/r2/public/static/js/jquery.reddit.js +++ b/r2/r2/public/static/js/jquery.reddit.js @@ -681,6 +681,10 @@ $.apply_stylesheet = function(cssText) { * that has the old stylesheet, and delete it. Then we add a * ') .attr('title', sheet_title) .text(cssText)