Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
This commit is contained in:
@ -117,7 +117,7 @@ window.plugin.portalslist.displayPL = function() {
|
||||
html = '<table><tr><td>Nothing to show!</td></tr></table>';
|
||||
};
|
||||
|
||||
if(typeof android !== 'undefined' && android && android.addPane) {
|
||||
if(window.useAndroidPanes()) {
|
||||
$('<div id="portalslist" class="mobile">' + html + '</div>').appendTo(document.body);
|
||||
} else {
|
||||
dialog({
|
||||
@ -264,7 +264,7 @@ window.plugin.portalslist.onPaneChanged = function(pane) {
|
||||
};
|
||||
|
||||
var setup = function() {
|
||||
if(typeof android !== 'undefined' && android && android.addPane) {
|
||||
if(window.useAndroidPanes()) {
|
||||
android.addPane("plugin-portalslist", "Portals list", "ic_action_paste");
|
||||
addHook("paneChanged", window.plugin.portalslist.onPaneChanged);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user