supercool/mzalendo — Issue #10: Switching between mobile and desktop modes
Author: evdb
Created: 2011-12-06 10:08:24+00:00
State: open
Labels: code

Possibly not worth implementing - won't affect many real users.

Currently the mode is only detected when the page loads. Instead we could add a trigger to the resize event that triggers the display logic. This would also allow the mobile and desktop js files to be merged as the logic for what to do would be in the functions, rather than having functions with the same name coming from different sources. (I doubt that the increase in file size would be significant).

Flagging this early on as it will change how the js is written, so best to decide which way to go before there is too much of it :)