summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-27 05:10:48 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-27 05:10:48 -0400
commit43c6b6a0c25ed32c2409612f6afc7e3dad854f6d (patch)
tree5e3a0da7563242fd8f9bef05537ff044186130db /www/js/app.js
parent65a9f1a8fadc225bd35c26e9c16b4b261bf34636 (diff)
fixed bug with spinner loading not updating dynamic url changes
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) {