Skip to content

Commit

Permalink
Merge branch 'code-charity:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
unnamed-orbert authored Mar 6, 2024
2 parents e60e7cd + 66d0115 commit 213eaa2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ html[data-page-type='video'][it-player-size='custom'] ytd-app:not([player-fullsc
# SKIP OVERLAY
--------------------------------------------------------------*/

html[it-player-hide-skip-overlay=true] .ytp-doubletap-ui, .ytp-doubletap-ui-legacy
html[it-player-hide-skip-overlay=true] .ytp-doubletap-ui, html[it-player-hide-skip-overlay=true] .ytp-doubletap-ui-legacy
{
visibility: hidden;
}
Expand Down
16 changes: 8 additions & 8 deletions menu/satus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3142,7 +3142,10 @@ satus.search = function(query, object, callback) {
'layersProvider',
'parentObject',
'parentSkeleton',
'namespaceURI'
'namespaceURI',
'svg',
'parentElement',
'rendered'
];

query = query.toLowerCase();
Expand All @@ -3154,14 +3157,11 @@ satus.search = function(query, object, callback) {
if (excluded.indexOf(key) === -1) {
var item = items[key];

if (item.component) {
//console.log(key, item.component);

if (elements.indexOf(item.component) !== -1 && key.indexOf(query) !== -1) {
results[key] = Object.assign({}, item);
}
if (item.component && item.text && elements.indexOf(item.component) !== -1
&& (satus.locale.data[item.text] ? satus.locale.data[item.text] : item.text).toLowerCase().indexOf(query) !== -1) {
results[key] = Object.assign({}, item);
}

if (
satus.isObject(item) &&
!satus.isArray(item) &&
Expand Down

0 comments on commit 213eaa2

Please sign in to comment.