markdown-toolbar 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Markdown
2
2
  module Toolbar
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -24,13 +24,10 @@ function MarkdownToolbar(textarea){
24
24
  $this.panel.css(pos, $this.textarea.css(pos));
25
25
  });
26
26
  this.resize_textarea();
27
- this.textarea.mouseup(function(){
28
- $this.resize_textarea();
29
- });
30
27
  }
31
28
 
32
29
  this.resize_textarea = function(){
33
- $this.panel.css("width", $this.textarea.width());
30
+ $this.panel.css("max-width", $this.textarea.width());
34
31
  }
35
32
 
36
33
  this.fill_buttons = function(){
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown-toolbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-27 00:00:00.000000000 Z
12
+ date: 2012-11-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets