From 9c7101ec845bc05edf3359716535ce0ccf583cf7 Mon Sep 17 00:00:00 2001 From: joomlart Date: Tue, 19 Feb 2013 09:52:11 +0700 Subject: [PATCH] ThemeMagic: Fix Minimize button behavior --- source/plg_system_t3/admin/thememagic/js/thememagic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/plg_system_t3/admin/thememagic/js/thememagic.js b/source/plg_system_t3/admin/thememagic/js/thememagic.js index 982e9ed1ff..2186065bc7 100644 --- a/source/plg_system_t3/admin/thememagic/js/thememagic.js +++ b/source/plg_system_t3/admin/thememagic/js/thememagic.js @@ -47,11 +47,11 @@ var T3Theme = window.T3Theme || {}; if($(this).hasClass('active')){ $(this).removeClass('active'); $('#t3-admin-thememagic').css('left', 0); - $('#preview').css('left', $('#t3-admin-thememagic').outerWidth(true)); + $('#t3-admin-tm-preview').css('left', $('#t3-admin-thememagic').outerWidth(true)); } else { $(this).addClass('active'); $('#t3-admin-thememagic').css('left', - $('#t3-admin-thememagic').outerWidth(true)); - $('#preview').css('left', 0); + $('#t3-admin-tm-preview').css('left', 0); } return false;