Index: wp-includes/class.wp-scripts.php
===================================================================
--- wp-includes/class.wp-scripts.php	(revision 1262)
+++ wp-includes/class.wp-scripts.php	(working copy)
@@ -162,6 +162,7 @@
 	}
 
 	function do_footer_items() {
+		$this->in_footer = array_diff($this->do_items(false, 1), $this->done);
 		if ( !empty($this->in_footer) ) {
 			foreach( $this->in_footer as $key => $handle ) {
 				if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) {
