Commit 903c1348 authored by Thierry BUGEAT's avatar Thierry BUGEAT

Bug in news display when the animations are off

parent d5afb886
......@@ -538,8 +538,12 @@ closeFeedsList.onclick = function(event) {ui._vibrate(); ui._scrollTo(0);}
var _animations = document.querySelectorAll("._startAnimation_");
for (var i = 0; i < _animations.length; i++) {
_animations[i].onmousedown = function() {
liveValues.animations.inProgress = true;
_animations[i].onmousedown = function() {
if (params.settings.ui.animations) {
liveValues.animations.inProgress = true;
} else {
liveValues.animations.inProgress = false;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment