我收到这个错误
对象 [object Object] 的属性“getInline”不是函数
执行此代码时
HTML
<div id="test-modal" class="mfp-hide white-popup-block">
<h1>TITLE</h1>
<p>Lorem ipsum</p>
<p><a href="http://google.com">Go back to home page</a> or <a class="popup-modal-dismiss" href="#">Dismiss</a></p>
</div>
JS
$(document).ready(function() {
$.magnificPopup.open({
items: {
src: '#test-modal',
},
type: 'inline',
preloader: false,
modal: true
}, 0);
});
谢谢