File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ $(document).ready(function () {
37
37
loadSimilarRepos ( ) ;
38
38
} else if ( splits . length === 0 ) {
39
39
// reset title
40
- let exploreDiv = $ ( "[aria-label='Explore Repositories ']" ) ;
40
+ let exploreDiv = $ ( "[aria-label='Explore repositories ']" ) ;
41
41
if ( exploreContent == null ) {
42
42
exploreContent = exploreDiv . children ( "div[data-view-component=true]" ) ;
43
43
}
@@ -174,7 +174,7 @@ async function renderSimilarDiv(result) {
174
174
}
175
175
176
176
function loadRecommendRepos ( ) {
177
- let exploreDiv = $ ( "[aria-label='Explore Repositories ']" ) ;
177
+ let exploreDiv = $ ( "[aria-label='Explore repositories ']" ) ;
178
178
exploreDiv . children ( "div[data-view-component=true]" ) . remove ( ) ;
179
179
exploreDiv . children ( "div.py-2" ) . remove ( ) ;
180
180
exploreDiv . children ( "a.f6" ) . remove ( ) ;
@@ -219,7 +219,7 @@ function loadRecommendRepos() {
219
219
}
220
220
221
221
async function showRecommend ( result ) {
222
- let exploreDiv = $ ( "[aria-label='Explore Repositories ']" ) ;
222
+ let exploreDiv = $ ( "[aria-label='Explore repositories ']" ) ;
223
223
exploreDiv . children ( "div.py-2" ) . remove ( ) ;
224
224
exploreDiv . children ( "a.f6" ) . remove ( ) ;
225
225
exploreDiv . children ( "#error-message" ) . remove ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " GitRec" ,
3
3
"description" : " A recommender system for GitHub repositories based on Gorse" ,
4
- "version" : " 0.5 " ,
4
+ "version" : " 0.6 " ,
5
5
"manifest_version" : 3 ,
6
6
"permissions" : [
7
7
" scripting" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const mountFn = async () => {
41
41
// get neighbors
42
42
loadSimilarRepos ( ) ;
43
43
} else if ( splits . length === 0 ) {
44
- let exploreDiv = $ ( "[aria-label='Explore Repositories ']" ) ;
44
+ let exploreDiv = $ ( "[aria-label='Explore repositories ']" ) ;
45
45
if ( exploreContent == null ) {
46
46
exploreContent = exploreDiv . children ( "div[data-view-component=true]" ) ;
47
47
}
@@ -193,7 +193,7 @@ async function renderSimilarDiv(result: any) {
193
193
}
194
194
195
195
async function loadRecommendRepos ( ) {
196
- let exploreDiv = $ ( "[aria-label='Explore Repositories ']" ) ;
196
+ let exploreDiv = $ ( "[aria-label='Explore repositories ']" ) ;
197
197
exploreDiv . children ( "div[data-view-component=true]" ) . remove ( ) ;
198
198
exploreDiv . children ( "div.py-2" ) . remove ( ) ;
199
199
exploreDiv . children ( "a.f6" ) . remove ( ) ;
@@ -239,7 +239,7 @@ async function loadRecommendRepos() {
239
239
}
240
240
241
241
async function showRecommend ( result : any ) {
242
- let exploreDiv = $ ( "[aria-label='Explore Repositories ']" ) ;
242
+ let exploreDiv = $ ( "[aria-label='Explore repositories ']" ) ;
243
243
exploreDiv . children ( "div.py-2" ) . remove ( ) ;
244
244
exploreDiv . children ( "a.f6" ) . remove ( ) ;
245
245
exploreDiv . children ( "#error-message" ) . remove ( ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default defineConfig({
8
8
userscript : {
9
9
namespace : `gorse-io` ,
10
10
name : `GitRec` ,
11
- version : `0.3 ` ,
11
+ version : `0.6 ` ,
12
12
description : `A recommender system for GitHub repositories based on Gorse` ,
13
13
icon : `https://gitrec.gorse.io/logo.png` ,
14
14
match : [ `*://github.com/*` ] ,
You can’t perform that action at this time.
0 commit comments