From 4f3ab8b388f1b387fb06a07f839e976f15938352 Mon Sep 17 00:00:00 2001 From: laravel-vesuvius Date: Wed, 8 Feb 2017 14:18:45 +0200 Subject: [PATCH] Fix for ezpModel watching --- js/angular-ezplus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular-ezplus.js b/js/angular-ezplus.js index b65fb6a..7c924b0 100644 --- a/js/angular-ezplus.js +++ b/js/angular-ezplus.js @@ -121,7 +121,7 @@ var initialUrl = null; var plugin = getZoomPlugin(); - if (plugin) { + if (plugin && plugin.options.enabled) { if (image) { hideZoom(); if (loader) {