Skip to content
Snippets Groups Projects
Commit 1a02fb03 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

cursor style changed for alias in search result

parent f8b212bb
No related branches found
No related tags found
2 merge requests!412changes from 12.1.0~beta.1 into master,!399Resolve "change shape of mouse cursor"
Pipeline #6405 passed
......@@ -62,6 +62,7 @@ GenericSearchPanel.prototype.createSearchGui = function () {
* @param {SearchBioEntityGroup|BioEntity} element
* @param {string} icon
* @returns {Promise<HTMLTableRowElement>}
* @override
*/
GenericSearchPanel.prototype.createTableElement = function (element, icon) {
if (element instanceof Alias) {
......
......@@ -514,6 +514,7 @@ GuiUtils.prototype.createIcon = function (icon, onclickFunction) {
img.hspace = 5;
if (onclickFunction !== undefined) {
img.onclick = onclickFunction;
img.style.cursor = "pointer";
}
result.appendChild(img);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment