mizugumo 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * NinjaScript - 0.8.2
2
+ * NinjaScript - 0.8.3
3
3
  * written by and copyright 2010-2011 Judson Lester and Logical Reality Design
4
4
  * Licensed under the MIT license
5
5
  * 2011-02-04
@@ -1123,7 +1123,9 @@ Ninja = (function() {
1123
1123
  },
1124
1124
  events: {
1125
1125
  focus: function(event) {
1126
- $(this.element).removeClass('ninja_watermarked').val('')
1126
+ if($(this.element).hasClass('ninja_watermarked')) {
1127
+ $(this.element).removeClass('ninja_watermarked').val('')
1128
+ }
1127
1129
  },
1128
1130
  blur: function(event) {
1129
1131
  if($(this.element).val() == '') {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mizugumo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Evan Dorn