From c0c6db7071d42a7439f267f56008dd785d769984 Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Mon, 23 Jan 2012 16:00:51 -0800 Subject: [PATCH 1/3] Added a fix for IE controls hiding --- src/controls.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/controls.js b/src/controls.js index a0cd065b9..0a7f2f691 100644 --- a/src/controls.js +++ b/src/controls.js @@ -236,10 +236,18 @@ _V_.ControlBar = _V_.Component.extend({ // Used for transitions (fading out) reveal: function(){ this.el.style.opacity = 1; + + // IE doesn't support opacity, so use display instead + if ( !('opacity' in document.body.style) ) { + this.show(); + } }, conceal: function(){ this.el.style.opacity = 0; + if ( !('opacity' in document.body.style) ) { + this.hide(); + } } }); From 2b59be792db4aef3e204d8d2f030184260b023d5 Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Mon, 23 Jan 2012 16:01:39 -0800 Subject: [PATCH 2/3] Bumping version to 3.0.8. --- VERSION.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION.yml b/VERSION.yml index c20500821..8afddc9e2 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -1,4 +1,4 @@ --- major: 3 -patch: 7 +patch: 8 minor: 0 From e967754c274311201b7eb005ab4f90197d5a502b Mon Sep 17 00:00:00 2001 From: Steve Heffernan Date: Mon, 23 Jan 2012 16:02:50 -0800 Subject: [PATCH 3/3] Adding line to CHANGELOG: CFixed issue with controls not hiding in IE due to no opacity support --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cae586e7c..df0fb07f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,3 +19,6 @@ CHANGELOG ---- 3.0.7 / 2012-01-12 / fixing-ie8-poster-bug -------------------------------- * Fixed an ie8 breaking bug with the poster + +---- 3.0.8 / 2012-01-23 / fix-ie-controls-hiding ------------------------------- +* CFixed issue with controls not hiding in IE due to no opacity support