We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84aec34 commit 7c22d88Copy full SHA for 7c22d88
jquery.go
@@ -211,7 +211,7 @@ func (j JQuery) Each(fn func(int, interface{})) JQuery {
211
}
212
213
func (j JQuery) Call(name string, args ...interface{}) JQuery {
214
- return NewJQuery( j.o.Call(name, args...) )
+ return NewJQuery(j.o.Call(name, args...))
215
216
217
func (j JQuery) Underlying() *js.Object {
@@ -502,7 +502,7 @@ func (j JQuery) SetWidth(i interface{}) JQuery {
502
return j
503
504
505
-func (j JQuery) Index(i interface{}...) int {
+func (j JQuery) Index(i interface{}) int {
506
return j.o.Call("index", i).Int()
507
508
0 commit comments