Test Failed
Push — master ( 22a61c...279896 )
by Alexey
03:16
created

web/js/popups.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 9
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 9
rs 10
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 0
1
$(document).ready(function() {
2
    // Using http://dimsemenov.com/plugins/magnific-popup/documentation.html
3
    $('.post-image').magnificPopup({
4
        type:'image',
5
        gallery: {
6
            enabled: true,
7
        }
8
    });
9
});