Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switching from window to document containment.
  • Loading branch information
yhahn committed Feb 18, 2010
1 parent b224e11 commit 4021e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ginkgo.js
Expand Up @@ -25,7 +25,7 @@ Drupal.behaviors.ginkgo = function (context) {
// Make block draggable and set position of each block on drag end. // Make block draggable and set position of each block on drag end.
var options = { var options = {
handle: 'h2.block-title', handle: 'h2.block-title',
containment: 'window', containment: 'document',
stop: function(event, ui) { stop: function(event, ui) {
var state = {}; var state = {};
try { state = JSON.parse($.cookie('DrupalGinkgo')); } catch (error) { } try { state = JSON.parse($.cookie('DrupalGinkgo')); } catch (error) { }
Expand Down

0 comments on commit 4021e8c

Please sign in to comment.