docs: Update most remaining references to zulipchat.com.

In some cases, the cleanest tweak is to replace references to the
domain with Zulip Cloud, the product.
This commit is contained in:
Tim Abbott
2020-06-08 15:58:42 -07:00
committed by Tim Abbott
parent 95be7dcbab
commit 7b8ba5ebd9
29 changed files with 48 additions and 49 deletions

View File

@@ -151,8 +151,8 @@ const apps_events = function () {
};
const events = function () {
// get the location url like `zulipchat.com/features/`, cut off the trailing
// `/` and then split by `/` to get ["zulipchat.com", "features"], then
// get the location url like `zulip.com/features/`, cut off the trailing
// `/` and then split by `/` to get ["zulip.com", "features"], then
// pop the last element to get the current section (eg. `features`).
const location = window.location.pathname.replace(/\/#*$/, "").split(/\//).pop();