Skip to content

Instantly share code, notes, and snippets.

@excid3
Created March 21, 2012 23:15
Show Gist options
  • Save excid3/2154036 to your computer and use it in GitHub Desktop.
Save excid3/2154036 to your computer and use it in GitHub Desktop.
Turntable disable animations
(function(){var a,c=null,b=null;for(a in turntable)if("object"===typeof turntable[a]&&null!==turntable[a]&&turntable[a].hasOwnProperty("selfId")){c=turntable[a];break}if(null!==c)for(a in c)if("object"===typeof c[a]&&null!==c[a]&&c[a].hasOwnProperty("myuserid")){b=c[a];break}if(null!==b){b.add_animation_to=function(){};$("#meterNeedle").hide();b.speak=function(){};for(a in b.djs_uid)b.djs_uid[a][0].stop();for(a in b.listeners)b.listeners[a].stop();$("#top-panel").next().children("div").first().hide()}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment