Added a function for changing the editing property

A function has been added to change the editing properties depending on
if it’s desktop or mobile version. This function is now called when
accessing the desktop version from mobile devices.