Properly cascade blank tiles on clearing a row
This commit is contained in:
parent
3380c61512
commit
a726760758
|
@ -209,6 +209,9 @@
|
||||||
|
|
||||||
//refresh last row to reflect new rows beneath
|
//refresh last row to reflect new rows beneath
|
||||||
$('li.revealed').last().parent().children('li.revealed').mousedown();
|
$('li.revealed').last().parent().children('li.revealed').mousedown();
|
||||||
|
|
||||||
|
//click blank tiles
|
||||||
|
$('li.revealed:not(.mine):empty').mousedown();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('ul:hidden').show();
|
$('ul:hidden').show();
|
||||||
|
|
Loading…
Reference in New Issue