'
+ '
'
+ '
'
+ '
'
diff --git a/code/utils_misc.js b/code/utils_misc.js
index 6bc21eb5..e41ab23d 100644
--- a/code/utils_misc.js
+++ b/code/utils_misc.js
@@ -118,6 +118,14 @@ window.showPortalPosLinks = function(lat, lng) {
}
}
+window.androidCopy = function(text) {
+ if(typeof android === 'undefined' || !android || !android.copy)
+ return true; // i.e. execute other actions
+ else
+ android.copy(text);
+ return false;
+}
+
window.reportPortalIssue = function(info) {
var t = 'Redirecting you to a Google Help Page.\n\nThe text box contains all necessary information. Press CTRL+C to copy it.';
var d = window.portals[window.selectedPortal].options.details;
diff --git a/main.js b/main.js
index d8563407..55134df9 100644
--- a/main.js
+++ b/main.js
@@ -97,7 +97,7 @@ document.getElementsByTagName('body')[0].innerHTML = ''
+ '
'
+ '
'
+ '
'
+ '