From d1052fae4c3e8ad9c7a6effb2ff99ddc6706a0c5 Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Fri, 24 Apr 2015 10:01:27 +0200 Subject: [PATCH] Fixed jslint error (missing semicolon). --- src/directives/scrollspy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/directives/scrollspy.js b/src/directives/scrollspy.js index 0e08bca..10ca726 100644 --- a/src/directives/scrollspy.js +++ b/src/directives/scrollspy.js @@ -15,7 +15,7 @@ angular.module('duScroll.scrollspy', ['duScroll.spyAPI']) Spy.prototype.getTargetElement = function() { if (!this.target && this.targetId) { - this.target = document.getElementById(this.targetId) || document.getElementsByName(this.targetId)[0] + this.target = document.getElementById(this.targetId) || document.getElementsByName(this.targetId)[0]; } return this.target; };