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

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

parent cf492476
...@@ -94,12 +94,11 @@ ...@@ -94,12 +94,11 @@
this.activeTarget = target this.activeTarget = target
this.$body $(this.selector)
.find(this.selector).parent('.active') .parent('.active')
.removeClass('active') .removeClass('active')
active = this.$body active = $(this.selector + '[href="' + target + '"]')
.find(this.selector + '[href="' + target + '"]')
.parent('li') .parent('li')
.addClass('active') .addClass('active')
......
...@@ -94,12 +94,11 @@ ...@@ -94,12 +94,11 @@
this.activeTarget = target this.activeTarget = target
this.$body $(this.selector)
.find(this.selector).parent('.active') .parent('.active')
.removeClass('active') .removeClass('active')
active = this.$body active = $(this.selector + '[href="' + target + '"]')
.find(this.selector + '[href="' + target + '"]')
.parent('li') .parent('li')
.addClass('active') .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