moved from html to $('html') to fix unit tests
This commit is contained in:
parent
c456f5dee1
commit
595adfd193
1 changed files with 1 additions and 2 deletions
|
@ -1013,7 +1013,7 @@ $(document).ready(function() {
|
|||
} else {
|
||||
$('#linkPass').slideToggle(OC.menuSpeed);
|
||||
// TODO drop with IE8 drop
|
||||
if(html.hasClass('ie8')) {
|
||||
if($('html').hasClass('ie8')) {
|
||||
$('#linkPassText').attr('placeholder', null);
|
||||
$('#linkPassText').val('');
|
||||
}
|
||||
|
@ -1120,7 +1120,6 @@ $(document).ready(function() {
|
|||
$(document).on('focusout keyup', '#dropdown #linkPassText', function(event) {
|
||||
var linkPassText = $('#linkPassText');
|
||||
if ( linkPassText.val() != '' && (event.type == 'focusout' || event.keyCode == 13) ) {
|
||||
|
||||
var allowPublicUpload = $('#sharingDialogAllowPublicUpload').is(':checked');
|
||||
var dropDown = $('#dropdown');
|
||||
var itemType = dropDown.data('item-type');
|
||||
|
|
Loading…
Reference in a new issue