Commit 00641f76 authored by Irina Ivanova's avatar Irina Ivanova

Rename screenshots

parent cfb23e77
......@@ -5,6 +5,9 @@ It is useful for developers or testers who often need to open commit graphs of d
# Download and Install
* **[Install](https://chrome.google.com/webstore/detail/fisheye-commit-graph-open/iedkjhgaoiceaddkolomdfbdelbgipdb "Install")** last version from Google Store
# Questions and Comments
Any questions or comments are welcome! You can write me an e-mail on [irina.ivanova@protonmail.com](irina.ivanova@protonmail.com) or create an issue here.
# Description
Basically extension simply adds your repository code to specified URL and opens it in new tab:
`URL/graph/repository`
......
......@@ -3,16 +3,8 @@ function setErrorText(errorText) {
divError.innerText=errorText + "\n";
}
function colorBorderToRed(element) {
var border=document.getElementById(element);
border.style.borderColor="#FF6666";
border.focus();
border.select();
}
function returnError(errorText, element) {
function returnError(errorText) {
setErrorText(errorText);
colorBorderToRed(element);
throw "";
}
......@@ -80,10 +72,10 @@ function openWindow() {
window.open(url + moduleCodes[repo]);
} else if (repo === "") {
isError=1;
returnError("Please insert repo key-word", "repo");
returnError("Please insert repo key-word");
} else {
isError=1;
returnError("Can't find repo key-word'" + repo + "'", "repo");
returnError("Can't find repo key-word'" + repo + "'");
}
}
......@@ -102,7 +94,7 @@ function openGraph() {
setTimeout(function() {
if (isError === 0) {
returnError("Please define repos in Options", "repo");
returnError("Please define repos in Options");
}
}, 500);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment