Created
February 1, 2017 19:56
-
-
Save mikhailbot/23f32b207783a8ae88154371e610b5b8 to your computer and use it in GitHub Desktop.
Remove "Dining" option for residence tour
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
$('iframe').ready(function () { | |
var interval = setInterval(function () { | |
var menuItem = $('iframe').contents().find('.kolorMenuItem')[3]; | |
// Remove dining option if present and clear interval | |
if (menuItem) { | |
menuItem.remove(); | |
clearInterval(interval); | |
} | |
}, 100); | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment