This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6407,6 +6407,6 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
64076407 margin- to p: 10px;
64086408 dis play: block;
64096409 color : # 9999A0;
6410- height: 200px;
6411- overflow: scroll
6410+ max - height: 200px;
6411+ overflow: scroll;
64126412}
Original file line number Diff line number Diff line change 546546 "goodSMTPAuthentication" : " You have successfully connected to the SMTP server." ,
547547 "tagIsTooLongHeadline" : " The tag is too long" ,
548548 "tagIsTooLongBody" : " Tags cannot be more than %{smart_count} character long. |||| Tags cannot be more than %{smart_count} characters long." ,
549- "retryingConnection" : " The connection to your node was lost. Retrying connection attempt %{attempt} of %{total}."
549+ "retryingConnection" : " The connection to your node was lost. Retrying connection attempt %{attempt} of %{total}." ,
550+ "peersFail" : " Call to peers API failed."
550551 },
551552 "pageConnectingMessages" : {
552553 "listingConnect" : " Connecting to listing ${listing}" ,
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ module.exports = pageVw.extend({
239239 placeholder_text_multiple : window . polyglot . t ( 'chosenJS.placeHolderTextMultiple' )
240240 } ) ;
241241
242- var connectedPeers = ""
242+ var connectedPeers = "" ;
243243 $ . ajax ( {
244244 url : self . serverUrl + "routing_table" ,
245245 success : function ( data ) {
@@ -248,10 +248,10 @@ module.exports = pageVw.extend({
248248 connectedPeers += ( peer [ 'ip' ] + ":" + peer [ 'port' ] + "\n" ) ;
249249 } )
250250 self . $el . find ( 'span.js-connectedPeers' ) . text ( connectedPeers ) ;
251- $ ( '.js-connectedPeers' ) . hide ( ) ;
251+ self . $el . find ( '.js-connectedPeers' ) . hide ( ) ;
252252 } ,
253253 error : function ( ) {
254- self . $el . find ( '.js-numConnectedPeers' ) . text ( "Call to peers API failed." ) ;
254+ self . $el . find ( '.js-numConnectedPeers' ) . text ( window . polyglot . t ( 'errorMessages.peersFail' ) ) ;
255255 }
256256 } ) ;
257257
@@ -343,7 +343,7 @@ module.exports = pageVw.extend({
343343 } ,
344344
345345 showPeers : function ( ) {
346- $ ( '.js-connectedPeers' ) . toggle ( ) ;
346+ this . $el . find ( '.js-connectedPeers' ) . toggle ( ) ;
347347 } ,
348348
349349 validateDescription : function ( ) {
You can’t perform that action at this time.
0 commit comments