Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Upgrade from a former mootools API

  • Loading branch information...
commit 88e9bae3c72119a0b681f80878ab7ac794555b50 1 parent aa0238e
@vicb authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 visugps/js/visugps.js
View
7 visugps/js/visugps.js
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.