From 3422c8deb64088e8b1cd1a1b731ac2e9e75541cb 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: http://core.svn.wordpress.org/trunk@23009 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 ) }); });