1.0.24 - Highlight on mouseover instead of click.
Also, switch to a more dark-theme friendly highlight color.
This commit is contained in:
parent
46bd17172a
commit
e3c8199598
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "Sage's BitBucket Addon",
|
||||
"description": "Ensure searches don't include forks (and other enhancements)",
|
||||
"version": "1.0.23",
|
||||
"version": "1.0.24",
|
||||
"manifest_version": 2,
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
|
|
Binary file not shown.
|
@ -65,7 +65,8 @@ const addVariableClickers = skipExpandos => {
|
|||
|
||||
getVarElements()
|
||||
.forEach(e => {
|
||||
e.onclick = () => selectVar(e.innerText)
|
||||
e.onmouseover = () => selectVar(e.innerText)
|
||||
e.onmouseleave = () => selectVar('zzzzz')
|
||||
e.ondblclick = () => {
|
||||
let searchBox = getSearchBox()
|
||||
|
||||
|
@ -86,7 +87,7 @@ addFix(() => {
|
|||
const styleSheet = document.createElement('style')
|
||||
styleSheet.innerText = `
|
||||
.${selectedClass} {
|
||||
background: rgb(255, 253, 170) !important;
|
||||
background: rgba(255, 253, 170, 0.1) !important;
|
||||
border-radius: 3px;
|
||||
padding: 2px !important;
|
||||
margin: -2px !important;
|
||||
|
|
Loading…
Reference in New Issue