Go into the options of whatever is working offline, and uncheck that option. Often it's not really an option that just randomly started messing with you, it can mean that something is actually offline and you need to check why to fix it. A bit like running out of gas and asking how to disable running out of gas. You put in more gas before it runs out, in your case, you see WHY it's working offline.
If you add some details to the post as to what is happening, there may be some more troubleshooting that can be done.