diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 8879a15d38..72a74e91a9 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -1440,10 +1440,17 @@ $.fn.search.settings = { } }); if(response[fields.action]) { - html += '' - + '' - + response[fields.action][fields.actionText] - + ''; + if(fields.actionURL === false) { + html += '' + + '
' + + response[fields.action][fields.actionText] + + '
'; + } else { + html += '' + + '' + + response[fields.action][fields.actionText] + + ''; + } } return html; } @@ -1485,12 +1492,18 @@ $.fn.search.settings = { ; html += ''; }); - if(response[fields.action]) { - html += '' - + '' - + response[fields.action][fields.actionText] - + ''; + if(fields.actionURL === false) { + html += '' + + '
' + + response[fields.action][fields.actionText] + + '
'; + } else { + html += '' + + '' + + response[fields.action][fields.actionText] + + ''; + } } return html; } diff --git a/src/definitions/modules/search.less b/src/definitions/modules/search.less index 06e7eced14..91f53e575c 100755 --- a/src/definitions/modules/search.less +++ b/src/definitions/modules/search.less @@ -241,7 +241,7 @@ .ui.category.search > .results .category .result:hover { background: @resultHoverBackground; } -.ui.search .action:hover { +.ui.search .action:hover:not(div) { background: @actionHoverBackground; }