smart_tag 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/smart_tag/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
(function($){
|
2
2
|
$(document).ready(function() {
|
3
3
|
|
4
|
-
function
|
4
|
+
function SmartTag(select) {
|
5
5
|
|
6
6
|
function in_array(array, value) {
|
7
7
|
for (var i = array.length - 1; i >= 0; i--) {
|
@@ -76,7 +76,7 @@
|
|
76
76
|
var selects = $(".smart_tag");
|
77
77
|
|
78
78
|
for (var i = selects.length - 1; i >= 0; i--) {
|
79
|
-
|
79
|
+
SmartTag($(selects[i]));
|
80
80
|
}
|
81
81
|
|
82
82
|
});
|