My test page, at http://mauitradewinds.com/MobileDetect/test.htm
, is supposed to return an appropriate alert, as to whether or not a mobile device is accessing the page. Unfortunately, the alert always says that a mobile device is in use, whether or not it is. Please advise me how to correct this.
BTW, I'm aware there are many other alternatives for detecting mobile browsers, but I would appreciate the chance to evaluate this particular one, starting with correcting my code.