A council has u-turned on plans to shut all facilities at a leisure centre for nine months, sparking joy among sports groups.