pagedown-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module PageDown
2
2
  module Rails
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -249,7 +249,7 @@
249
249
  function PanelCollection(postfix) {
250
250
  this.buttonBar = doc.getElementById("wmd-button-bar" + postfix);
251
251
  this.preview = doc.getElementById("wmd-preview" + postfix);
252
- this.input = doc.getElementById("wmd-input" + postfix);
252
+ this.input = doc.getElementsByClassName("wmd-input" + postfix)[0];
253
253
  };
254
254
 
255
255
  // Returns true if the DOM element is visible, false if it's hidden.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagedown-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
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-09-07 00:00:00.000000000 Z
12
+ date: 2012-12-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -68,4 +68,4 @@ signing_key:
68
68
  specification_version: 3
69
69
  summary: This gem makes PageDown available in the Rails asset pipeline
70
70
  test_files: []
71
- has_rdoc: false
71
+ has_rdoc: