Fix lint error

This commit is contained in:
Daniel Glus 2018-08-19 02:02:55 -04:00
parent fa3f69e236
commit a0ca7cb280

View File

@ -1405,7 +1405,7 @@
AFCH.api.get( request )
.done( function ( data ) {
if ( data.query.pages && !data.query.pages[ "-1" ] ) {
if ( data.query.pages && !data.query.pages[ '-1' ] ) {
var pageKey = Object.keys( data.query.pages )[ 0 ],
pagesCount = data.query.pages[ pageKey ].categoryinfo.pages;
$( '#' + countSpanId ).text( ' (' + pagesCount + ')' );