summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index fdd1549c..67844045 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -89,6 +89,12 @@ angular.module('zmApp', [
$element.after(loader);
}
loadImage();
+ $attributes.$observe('imageSpinnerSrc', function(value){
+ //console.log ("SOURCE CHANGED");
+ loadImage();
+ //deregistration();
+
+ });
function loadImage() {
$element.bind("load", function (e) {