]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix JS reference error for personal password changing
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Tue, 31 Mar 2015 11:41:10 +0000 (12:41 +0100)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Tue, 31 Mar 2015 11:41:10 +0000 (12:41 +0100)
settings/js/personal.js

index 302906702bd21aef70b6d3590ecda39330892d49..b269ebae3bcb51ff5184436a590ef561984168c8 100644 (file)
@@ -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