appium/appium — pull request #1300 by dandover (2013-10-10 01:20:24+00:00)
Title: refresh the value of alert so we don't always delay

The way the code was previously written the delay would always occur for the maximum amount of time because we never refresh the value of alert. Simple fix to refresh the value of alert so we don't waste time.