Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
231fd216
Commit
231fd216
authored
Apr 08, 2013
by
Nathaniel Catchpole
Browse files
Issue
#1833050
by rballou, droplet: JSHint modules/views/js/ajax.js.
parent
587ceeb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/views_ui/js/ajax.js
View file @
231fd216
...
...
@@ -195,7 +195,7 @@
if
(
Drupal
.
viewsUi
.
resizeModal
)
{
// If the modal is already at the max height, don't bother with
// this since the only reason to do it is to grow the modal.
if
(
$
(
'
.views-ui-dialog
'
).
height
()
<
parseInt
(
$
(
window
).
height
()
*
.
8
))
{
if
(
$
(
'
.views-ui-dialog
'
).
height
()
<
parseInt
(
$
(
window
).
height
()
*
0
.8
,
10
))
{
Drupal
.
viewsUi
.
resizeModal
(
''
,
true
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment