From: Robin McCorkell Date: Tue, 31 Mar 2015 11:41:10 +0000 (+0100) Subject: Fix JS reference error for personal password changing X-Git-Tag: v8.1.0alpha1~111^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=68b4ce568ea306793603de752a3cf1a313c87e92;p=nextcloud-server.git Fix JS reference error for personal password changing --- diff --git a/settings/js/personal.js b/settings/js/personal.js index 302906702bd..b269ebae3bc 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -172,7 +172,7 @@ $(document).ready(function () { $('#pass2').showPassword().keyup(); } $("#passwordbutton").click(function () { - var isIE8or9 = html.hasClass('lte9'); + var isIE8or9 = $('html').hasClass('lte9'); // FIXME - TODO - once support for IE8 and IE9 is dropped // for IE8 and IE9 this will check additionally if the typed in password // is different from the placeholder, because in IE8/9 the placeholder