File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/client/app/modules/components Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class App extends React.Component {
32
32
this . tryOpenFile ( ) ;
33
33
34
34
var lang = getParameterByName ( 'lang' ) ;
35
- console . log ( lang ) ;
35
+ // console.log(lang);
36
36
if ( lang && typeof ( lang ) === 'string' ) {
37
37
this . props . updateLocation ( lang + '$' ) ;
38
38
}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class FileViewer extends React.Component {
59
59
60
60
scrollToFocusedLine ( ) {
61
61
var scrollAmount = ( this . props . line - 1 ) * 20 + 16 - screen . height / 4 ;
62
- console . log ( 'scroll' , scrollAmount , this . scrollbars ) ;
62
+ // console.log('scroll', scrollAmount, this.scrollbars);
63
63
this . scrollbars . scrollTop ( scrollAmount ) ;
64
64
}
65
65
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export class SearchForm extends React.Component {
155
155
// If no more to load, leave
156
156
if ( ! ( ( searchString || location ) && ( this . state . hasMore !== false ) ) ) return ;
157
157
// Custom Infinite Scrolling
158
- const heightThreshold = 300 ; // If scroll pass 300px above bottom, load more
158
+ const heightThreshold = 600 ; // If scroll pass 600px above bottom, load more
159
159
const el = e . currentTarget ;
160
160
if ( el . scrollTop + el . clientHeight + heightThreshold > el . scrollHeight ) {
161
161
this . loadMore ( hashes ) ;
You can’t perform that action at this time.
0 commit comments