aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/draggable/core.js6
-rw-r--r--tests/unit/draggable/options.js10
-rw-r--r--tests/unit/droppable/options.js4
-rw-r--r--tests/unit/resizable/options.js10
-rw-r--r--ui/widgets/draggable.js2
5 files changed, 16 insertions, 16 deletions
diff --git a/tests/unit/draggable/core.js b/tests/unit/draggable/core.js
index b8be0fd20..debbcfba7 100644
--- a/tests/unit/draggable/core.js
+++ b/tests/unit/draggable/core.js
@@ -220,7 +220,7 @@ QUnit.test( "scroll offset with fixed ancestors", function( assert ) {
$( [ "hidden", "auto", "scroll" ] ).each( function() {
var overflow = this;
- // Http://bugs.jqueryui.com/ticket/9379 - position bug in scrollable div
+ // https://bugs.jqueryui.com/ticket/9379 - position bug in scrollable div
// https://bugs.jqueryui.com/ticket/10147 - Wrong position in a parent with "overflow: hidden"
QUnit.test( "position in scrollable parent with overflow: " + overflow, function( assert ) {
assert.expect( 2 );
@@ -306,13 +306,13 @@ QUnit.test( "blur behavior - handle is main element", function( assert ) {
testHelper.move( focusElement, 1, 1 );
- // Http://bugs.jqueryui.com/ticket/10527
+ // https://bugs.jqueryui.com/ticket/10527
// Draggable: Can't select option in modal dialog (IE8)
assert.strictEqual( document.activeElement, focusElement.get( 0 ), "test element is focused after mousing down on itself" );
testHelper.move( element, 50, 50 );
- // Http://bugs.jqueryui.com/ticket/4261
+ // https://bugs.jqueryui.com/ticket/4261
// active element should blur when mousing down on a draggable
assert.notStrictEqual( document.activeElement, focusElement.get( 0 ), "test element is no longer focused after mousing down on a draggable" );
ready();
diff --git a/tests/unit/draggable/options.js b/tests/unit/draggable/options.js
index 10f279037..c98c9f9d8 100644
--- a/tests/unit/draggable/options.js
+++ b/tests/unit/draggable/options.js
@@ -289,12 +289,12 @@ QUnit.test( "connectToSortable, dragging out of a sortable", function( assert )
assert.ok( Math.abs( result.top - offsetExpected.top ) < 0.25, "draggable offset is within 0.25 of expected" );
assert.ok( Math.abs( result.left - offsetExpected.left ) < 0.25, "draggable offset is within 0.25 of expected" );
- // Http://bugs.jqueryui.com/ticket/7734
+ // https://bugs.jqueryui.com/ticket/7734
// HTML IDs are removed when dragging to a Sortable
assert.equal( sortItem[ 0 ], dragHelper[ 0 ], "both have the same helper" );
assert.equal( sortItem.attr( "id" ), dragHelper.attr( "id" ), "both have the same id" );
- // Http://bugs.jqueryui.com/ticket/9481
+ // https://bugs.jqueryui.com/ticket/9481
// connectToSortable causes sortable revert to fail on second attempt
assert.equal( sortable.sortable( "option", "revert" ), 100, "sortable revert behavior is preserved" );
} );
@@ -374,7 +374,7 @@ QUnit.test( "connectToSortable, dragging multiple elements in and out of sortabl
moves: 10
} );
- // Http://bugs.jqueryui.com/ticket/9675
+ // https://bugs.jqueryui.com/ticket/9675
// Animation issue with revert and connectToSortable
sortable.one( "sortstop", function( event, ui ) {
assert.ok( !$.contains( document, ui.placeholder[ 0 ] ), "placeholder was removed" );
@@ -436,7 +436,7 @@ QUnit.test( "connectToSortable, dragging through a sortable", function( assert )
sortable = $( "#sortable2" ).sortable(),
sortableOffset = sortable.offset();
- // Http://bugs.jqueryui.com/ticket/10669
+ // https://bugs.jqueryui.com/ticket/10669
// Draggable: Position issue with connectToSortable
draggable.one( "dragstop", function() {
assert.equal( draggable.parent().attr( "id" ), "sortable", "restored draggable to original parent" );
@@ -1212,7 +1212,7 @@ QUnit.test( "snap, snapMode, and snapTolerance", function( assert ) {
} ),
element2 = $( "#draggable2" ).draggable();
- // Http://bugs.jqueryui.com/ticket/9724
+ // https://bugs.jqueryui.com/ticket/9724
// Draggable: Snapping coordinates thrown off by margin on draggable
element.css( "margin", "3px" );
diff --git a/tests/unit/droppable/options.js b/tests/unit/droppable/options.js
index 7cc765cf5..8fe82ac77 100644
--- a/tests/unit/droppable/options.js
+++ b/tests/unit/droppable/options.js
@@ -118,7 +118,7 @@ QUnit.test( "tolerance, intersect", function( assert ) {
height: 10,
position: "absolute",
- // Http://bugs.jqueryui.com/ticket/6876
+ // https://bugs.jqueryui.com/ticket/6876
// Droppable: droppable region is offset by draggables margin
marginTop: 3,
marginLeft: 3
@@ -187,7 +187,7 @@ QUnit.test( "tolerance, pointer", function( assert ) {
} );
} );
- // Http://bugs.jqueryui.com/ticket/4977 - tolerance, pointer - bug when pointer outside draggable
+ // https://bugs.jqueryui.com/ticket/4977 - tolerance, pointer - bug when pointer outside draggable
draggable.css( { top: 0, left: 0 } ).draggable( "option", "axis", "x" );
droppable.css( { top: 15, left: 15 } );
diff --git a/tests/unit/resizable/options.js b/tests/unit/resizable/options.js
index 3adef0da5..50b30ce7f 100644
--- a/tests/unit/resizable/options.js
+++ b/tests/unit/resizable/options.js
@@ -129,7 +129,7 @@ QUnit.test( "aspectRatio: 'preserve' (ne)", function( assert ) {
QUnit.test( "aspectRatio: Resizing can move objects", function( assert ) {
assert.expect( 7 );
- // Http://bugs.jqueryui.com/ticket/7018 - Resizing can move objects
+ // https://bugs.jqueryui.com/ticket/7018 - Resizing can move objects
var handleW = ".ui-resizable-w",
handleNW = ".ui-resizable-nw",
target = $( "#resizable1" ).resizable( {
@@ -146,7 +146,7 @@ QUnit.test( "aspectRatio: Resizing can move objects", function( assert ) {
assert.equal( target.height(), 100, "compare height - no size change" );
assert.equal( target.position().left, 75, "compare left - no movement" );
- // Http://bugs.jqueryui.com/ticket/9107 - aspectRatio and containment not handled correctly
+ // https://bugs.jqueryui.com/ticket/9107 - aspectRatio and containment not handled correctly
$( "#container" ).css( { width: 200, height: 300, position: "absolute", left: 100, top: 100 } );
$( "#resizable1" ).css( { width: 100, height: 100, left: 0, top: 0 } );
@@ -198,7 +198,7 @@ QUnit.test( "containment", function( assert ) {
QUnit.test( "containment - not immediate parent", function( assert ) {
assert.expect( 4 );
- // Http://bugs.jqueryui.com/ticket/7485 - Resizable: Containment calculation is wrong
+ // https://bugs.jqueryui.com/ticket/7485 - Resizable: Containment calculation is wrong
// when containment element is not the immediate parent
var element = $( "#child" ).resizable( {
containment: "#container2",
@@ -230,7 +230,7 @@ QUnit.test( "containment - not immediate parent", function( assert ) {
QUnit.test( "containment - immediate parent", function( assert ) {
assert.expect( 4 );
- // Http://bugs.jqueryui.com/ticket/10140 - Resizable: Width calculation is wrong when containment element is "position: relative"
+ // https://bugs.jqueryui.com/ticket/10140 - Resizable: Width calculation is wrong when containment element is "position: relative"
// when containment element is immediate parent
var element = $( "#child" ).resizable( {
containment: "parent",
@@ -327,7 +327,7 @@ QUnit.test( "grid - Resizable: can be moved when grid option is set (#9611)", fu
QUnit.test( "grid - maintains grid with padding and border when approaching no dimensions", function( assert ) {
assert.expect( 2 );
- // Http://bugs.jqueryui.com/ticket/10437 - Resizable: border with grid option working wrong
+ // https://bugs.jqueryui.com/ticket/10437 - Resizable: border with grid option working wrong
var handle = ".ui-resizable-nw",
target = $( "#resizable1" ).css( {
padding: 5,
diff --git a/ui/widgets/draggable.js b/ui/widgets/draggable.js
index 818273694..91443fac5 100644
--- a/ui/widgets/draggable.js
+++ b/ui/widgets/draggable.js
@@ -386,7 +386,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
o.appendTo ) );
}
- // Http://bugs.jqueryui.com/ticket/9446
+ // https://bugs.jqueryui.com/ticket/9446
// a helper function can return the original element
// which wouldn't have been set to relative in _create
if ( helperIsFunction && helper[ 0 ] === this.element[ 0 ] ) {