]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
Introduced common_location_shared() to check if location sharing is always,
[quix0rs-gnu-social.git] / lib / action.php
index ca8ece7ebc1a075aa9d5e3e9813e72948d3b8db9..5f12b4e94b4791b2ffb194f2c7ea1a3fa98bb402 100644 (file)
@@ -423,7 +423,9 @@ class Action extends HTMLOutputter // lawsuit
             if (Event::handle('StartShowStatusNetScripts', array($this))) {
                 $this->script('util.js');
                 $this->script('xbImportNode.js');
             if (Event::handle('StartShowStatusNetScripts', array($this))) {
                 $this->script('util.js');
                 $this->script('xbImportNode.js');
-                $this->script('geometa.js');
+                if (common_location_shared()) {
+                    $this->script('geometa.js');
+                }
 
                 // This route isn't available in single-user mode.
                 // Not sure why, but it causes errors here.
 
                 // This route isn't available in single-user mode.
                 // Not sure why, but it causes errors here.