From ebc5376a0dda9edefbcd6d5f1c619a5863df4a94 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 4 Dec 2012 04:08:32 +0000 Subject: [PATCH] RTL support for Masonry on the custom header page. fixes #22709. git-svn-id: https://develop.svn.wordpress.org/trunk@23009 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/js/custom-header.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/js/custom-header.js b/wp-admin/js/custom-header.js index fa7f1e4f88..aabd7d9c01 100644 --- a/wp-admin/js/custom-header.js +++ b/wp-admin/js/custom-header.js @@ -8,7 +8,8 @@ $headers.imagesLoaded( function() { $headers.masonry({ - itemSelector: '.default-header' + itemSelector: '.default-header', + isRTL: !! ( 'undefined' != typeof isRtl && isRtl ) }); });