mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Test if platform is empty not null to give it the local platform
This commit is contained in:
@@ -28,7 +28,7 @@ if (Meteor.settings &&
|
||||
|
||||
var hrefPath = document.location.href.split("/");
|
||||
var platform = hrefPath.length && hrefPath[hrefPath.length - 1];
|
||||
if (!platform)
|
||||
if (_.isEmpty(platform))
|
||||
platform = "local";
|
||||
console.log("URL", url);
|
||||
var report = function (name, last) {
|
||||
|
||||
Reference in New Issue
Block a user