From 280bce7d0aeee0c219fd5f038249fff3ec32ccf5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Oct 2015 11:07:23 -0200 Subject: Auto-adjust width --- screen.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 screen.js (limited to 'screen.js') diff --git a/screen.js b/screen.js new file mode 100644 index 0000000..3d1b8c2 --- /dev/null +++ b/screen.js @@ -0,0 +1,9 @@ +(function ($) { + + Drupal.behaviors.nuvemWidget = { + attach: function (context, settings) { + $('.b2-sheet').css('width', $(document).width()); + } + }; + +})(jQuery); -- cgit v1.2.3