cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From za...@apache.org
Subject [1/2] git commit: inappbrowser _blank target position is fixed
Date Tue, 26 Aug 2014 11:50:16 GMT
Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 69ca78077 -> 315a0e30d


inappbrowser _blank target position is fixed


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/97e0eac6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/97e0eac6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/97e0eac6

Branch: refs/heads/master
Commit: 97e0eac60366fcf22055e7bd23f5bfffe76b7b87
Parents: 8cb876c
Author: Tracktl <tracktl@MacBook-Pro-de-Tracktl.local>
Authored: Tue Aug 5 15:53:45 2014 +0200
Committer: Tracktl <tracktl@MacBook-Pro-de-Tracktl.local>
Committed: Tue Aug 5 15:53:45 2014 +0200

----------------------------------------------------------------------
 src/firefoxos/InAppBrowserProxy.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/97e0eac6/src/firefoxos/InAppBrowserProxy.js
----------------------------------------------------------------------
diff --git a/src/firefoxos/InAppBrowserProxy.js b/src/firefoxos/InAppBrowserProxy.js
index 63a85e3..9e6e3e8 100644
--- a/src/firefoxos/InAppBrowserProxy.js
+++ b/src/firefoxos/InAppBrowserProxy.js
@@ -91,7 +91,8 @@ var IABExecs = {
             browserWrap.browser = browserElem;
 
             browserWrap.classList.add('inAppBrowserWrap');
-            browserWrap.style.position = 'absolute';
+            // position fixed so that it works even when page is scrolled
+            browserWrap.style.position = 'fixed';
             browserElem.style.position = 'absolute';
             browserElem.style.border = 0;
             browserElem.style.top = '60px';


Mime
View raw message