From 9a4667c77c5d55edef3241b8927ec57a41b82f91 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 25 Jan 2013 03:52:16 -0800 Subject: tweaking z-index on chanview full-page mode so that everything works correctly --- js/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js') diff --git a/js/main.js b/js/main.js index 63598f126..67b4c777e 100644 --- a/js/main.js +++ b/js/main.js @@ -949,13 +949,13 @@ var chanviewFullSize = false; function chanviewFull() { if(chanviewFullSize) { chanviewFullSize = false; - $('#chanview-iframe-border').css({ 'position' : 'relative' }); - $('#remote-channel').css({ 'position' : 'relative' }); + $('#chanview-iframe-border').css({ 'position' : 'relative', 'z-index' : '10' }); + $('#remote-channel').css({ 'position' : 'relative' , 'z-index' : '10' }); } else { chanviewFullSize = true; - $('#chanview-iframe-border').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0' }); - $('#remote-channel').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0' }); + $('#chanview-iframe-border').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0', 'z-index' : '150001' }); + $('#remote-channel').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0', 'z-index' : '150000' }); resize_iframe(); } } -- cgit v1.2.3