Skip to content

Commit

Permalink
Update to RotatePad v0.1.1
Browse files Browse the repository at this point in the history
Fix an issue where Autopilot++ would not load when the RotatePad extension was installed.
  • Loading branch information
Qantas94Heavy committed Feb 23, 2015
1 parent 169c640 commit ba5dca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rotatepad_v0.1.0.user.js → rotatepad.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
// @match http://www.gefs-online.com/gefs.php*
// @match http://gefs-online.com/gefs.php*
// @run-at document-end
// @version 0.1.0
// @version 0.1.1
// @grant none
// ==/UserScript==

(function (fn) {
// check if ges.init has already been called
if (window.ges && ges.map3d) fn();
else {
var oldInit = ges.init;
var timer = setInterval(function () {
if (window.ges && ges.init) {
clearInterval(timer);
var oldInit = ges.init;
ges.init = function () {
fn();
oldInit();
Expand Down

0 comments on commit ba5dca0

Please sign in to comment.