Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll $ is not defined #27

Open
Nandez89 opened this issue Sep 28, 2017 · 1 comment
Open

Scroll $ is not defined #27

Nandez89 opened this issue Sep 28, 2017 · 1 comment

Comments

@Nandez89
Copy link

When I try to do a bower install it says that "angularjs-scroll-glue": "~0.0.1" so i use the recomended 2.2.0 instead. However upon deploy I get a few errors related to the scroll.

angular.js:14199 TypeError: Cannot read property 'scrollTop' of undefined

angular.js:14199 ReferenceError: $ is not defined
    at Object.link (http://localhost:8000/bower_components/angular-bootstrap-simple-chat/src/scripts/index.js:44:4)
    at http://localhost:8000/bower_components/angular/angular.js:1259:18
    at http://localhost:8000/bower_components/angular/angular.js:10146:44
    at invokeLinkFn (http://localhost:8000/bower_components/angular/angular.js:10152:9)
    at nodeLinkFn (http://localhost:8000/bower_components/angular/angular.js:9551:11)
    at http://localhost:8000/bower_components/angular/angular.js:9886:13
    at processQueue (http://localhost:8000/bower_components/angular/angular.js:16696:28)
    at http://localhost:8000/bower_components/angular/angular.js:16712:27
    at Scope.$eval (http://localhost:8000/bower_components/angular/angular.js:17994:28)
    at Scope.$digest (http://localhost:8000/bower_components/angular/angular.js:17808:31) <div ng-show="visible" class="row chat-window col-xs-5 col-md-3 {{vm.theme}} ng-isolate-scope" ng-class="{minimized: vm.isHidden}" messages="vm.messages" username="vm.username" input-placeholder-text="You can write here" submit-button-text="Send your message" title="Super Awesome Chat" theme="material" submit-function="vm.sendMessage" visible="vm.visible" expand-on-new="vm.expandOnNew">

Any suggestions on how to fix this?

@mwilde345
Copy link

are you including jQuery correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants