Commit 1ca1ef94 authored by Jacob Thornton's avatar Jacob Thornton

fix opera bug \o/ !!!! #1776

parent cf492476
......@@ -94,12 +94,11 @@
this.activeTarget = target
this.$body
.find(this.selector).parent('.active')
$(this.selector)
.parent('.active')
.removeClass('active')
active = this.$body
.find(this.selector + '[href="' + target + '"]')
active = $(this.selector + '[href="' + target + '"]')
.parent('li')
.addClass('active')
......
......@@ -94,12 +94,11 @@
this.activeTarget = target
this.$body
.find(this.selector).parent('.active')
$(this.selector)
.parent('.active')
.removeClass('active')
active = this.$body
.find(this.selector + '[href="' + target + '"]')
active = $(this.selector + '[href="' + target + '"]')
.parent('li')
.addClass('active')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment