summaryrefslogtreecommitdiff
path: root/resources/src/jquery/jquery.hidpi.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/src/jquery/jquery.hidpi.js')
-rw-r--r--resources/src/jquery/jquery.hidpi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/src/jquery/jquery.hidpi.js b/resources/src/jquery/jquery.hidpi.js
index 4ecfeb88..8fca0567 100644
--- a/resources/src/jquery/jquery.hidpi.js
+++ b/resources/src/jquery/jquery.hidpi.js
@@ -73,11 +73,11 @@ $.fn.hidpi = function () {
match;
if ( typeof srcset === 'string' && srcset !== '' ) {
match = $.matchSrcSet( devicePixelRatio, srcset );
- if (match !== null ) {
+ if ( match !== null ) {
$img.attr( 'src', match );
}
}
- });
+ } );
}
return $target;