Bug 1310252. Update webcompatURL to point to new simplified reporting endpoint. r=sebastian

This commit is contained in:
Mike Taylor 2016-10-17 11:43:22 +08:00
Родитель 48b937b61e
Коммит 08a11e7624
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -118,7 +118,7 @@ var WebcompatReporter = {
return new Promise((resolve) => {
const WEBCOMPAT_ORIGIN = "https://webcompat.com";
let url = tabData.tab.browser.currentURI.spec
let webcompatURL = `${WEBCOMPAT_ORIGIN}/?open=1&url=${url}`;
let webcompatURL = `${WEBCOMPAT_ORIGIN}/issues/new?url=${url}`;
if (tabData.data && typeof tabData.data === "string") {
BrowserApp.deck.addEventListener("DOMContentLoaded", function sendDataToTab(event) {