In the (un)likely event that the GetDeviceType function from MobilePatterns returns a void - no Tablet or Phone -, this function forces the validation to be a Tablet and adds the corresponding classes to the classList object.
The function adds the else condition, forcing to add the Tablet classes and returns if the result was forced or not.