Skip to content
Snippets Groups Projects
Commit 231fd216 authored by catch's avatar catch
Browse files

Issue #1833050 by rballou, droplet: JSHint modules/views/js/ajax.js.

parent 587ceeb4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment