Permalink
Browse files

Switching from window to document containment.

  • Loading branch information...
1 parent b224e11 commit 4021e8c92daa00987ad1bba66e1bcd5b43e7f326 @yhahn yhahn committed Feb 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/ginkgo.js
View
@@ -25,7 +25,7 @@ Drupal.behaviors.ginkgo = function (context) {
// Make block draggable and set position of each block on drag end.
var options = {
handle: 'h2.block-title',
- containment: 'window',
+ containment: 'document',
stop: function(event, ui) {
var state = {};
try { state = JSON.parse($.cookie('DrupalGinkgo')); } catch (error) { }

0 comments on commit 4021e8c

Please sign in to comment.