at any point in the fluid hoses where there is a coupling, banjo, transition from hose to hard line at the caliper, etc., there is an opportunity for bubbles to catch and give squishy brakes.
if your MC is back on, put your bike on the side stand and turn the bars to the left as richvageologist said, and tap on each of these couplings with the handle of a screwdriver. this will help to dislodge tiny bubbles.
SLOWLY pump your brake handle to get thes to come up thru the holes in your MC.
let it sit overnight, and repeat in the am.