- Ensured jQuery is loaded before jquery.magnific-popup.min.js
- Используется if ($ .fn.magnificpopup) , чтобы проверить, доступен ли плагин перед инициализацией
- переместить всю инициализацию внутри jquery (документ).) MANGICICE-POPUP < /CODE> Скрипт с использованием: < /p>
Ошибка: Uncaught TypeError: A не является функцией
at jQuery.magnific-popu… .js? Ver = 1.1.0: 4: 374
at jquery.magnific-popu… n.js? ver = 1.1.0: 4: 73
at at at at at at at at at at at at at at at at jquery.magnific-popu… jquery.magnific-popu… .js? ver = 1.1.0: 4: 147
(anonymous) @ jquery.magnific-popup.min.js? ver = 1.1.0: 4
(anonymous) @ jquery.magnific-popup.min.js? jquery.magnific-popup.min.js? Ver = 1.1.0: 4
Подробнее здесь: https://stackoverflow.com/questions/796 ... fresh-or-m