Permalink
Browse files

Upgrade from a former mootools API

  • Loading branch information...
vicb committed Mar 15, 2011
1 parent aa0238e commit 88e9bae3c72119a0b681f80878ab7ac794555b50
Showing with 6 additions and 1 deletion.
  1. +6 −1 visugps/js/visugps.js
View
@@ -175,7 +175,12 @@ var VisuGps = new Class({
if (track.error != null) {
if (load) {
load.set('html', track.error);
- new Fx.Styles(load, {transition: Fx.Transitions.linear}).start({'opacity': 0.9, 'background-color': '#ff2222'});
+ new Fx.Morph(load, {transition: Fx.Transitions.linear})
+ .start({
+ 'duration' : 500,
+ 'opacity': 0.9,
+ 'background-color': '#ff2222'
+ });
}
return;
}

0 comments on commit 88e9bae

Please sign in to comment.