summaryrefslogtreecommitdiff
path: root/web-ui/app/js/style_guide/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/style_guide/main.js')
-rw-r--r--web-ui/app/js/style_guide/main.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web-ui/app/js/style_guide/main.js b/web-ui/app/js/style_guide/main.js
index 170d1187..32c213cf 100644
--- a/web-ui/app/js/style_guide/main.js
+++ b/web-ui/app/js/style_guide/main.js
@@ -14,9 +14,8 @@
* You should have received a copy of the GNU Affero General Public License
* along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
*/
-'use strict';
-
$(document).ready(function(){
+ 'use strict';
$('a[href*=#]').click(function() {
if (location.pathname.replace(/^\//,'') === this.pathname.replace(/^\//,'') &&
location.hostname === this.hostname) {