|
@@ -1,4 +1,4 @@
|
|
|
-angular.module('appMessage').controller('MessageController', ['$scope', '$filter', '$location', '$anchorScroll', '$timeout', '$element', function($scope, $filter, $location, $anchorScroll, $timeout, $element) {
|
|
|
+angular.module('appMessage').controller('MessageController', ['$scope', '$filter', '$timeout', function($scope, $filter, $timeout) {
|
|
|
lxtalkClient.Invoke('{15180DEF-D508-45F7-BAEB-6486CD8752C8}', '_Register', '', $scope);
|
|
|
$scope.glued = true;
|
|
|
$scope.count = true;
|
|
@@ -155,20 +155,20 @@ angular.module('appMessage').controller('MessageController', ['$scope', '$filter
|
|
|
lxtalkClient.Invoke('{15180DEF-D508-45F7-BAEB-6486CD8752C8}', 'LoadImages', JSON.stringify(data), $scope);
|
|
|
};
|
|
|
|
|
|
- $scope.scrollHide = function() {
|
|
|
- angular.element("#body").addClass("scrollGlue");
|
|
|
- };
|
|
|
- $scope.scrollShow = function() {
|
|
|
- if (angular.element("#body").hasClass("scrollGlue")) {
|
|
|
- angular.element("#body").removeClass("scrollGlue");
|
|
|
- gotoBottom();
|
|
|
- } else angular.element("#body").removeClass("scrollGlue");
|
|
|
- };
|
|
|
+ // $scope.scrollHide = function() {
|
|
|
+ // angular.element("#body").addClass("scrollGlue");
|
|
|
+ // };
|
|
|
+ // $scope.scrollShow = function() {
|
|
|
+ // if (angular.element("#body").hasClass("scrollGlue")) {
|
|
|
+ // angular.element("#body").removeClass("scrollGlue");
|
|
|
+ // gotoBottom();
|
|
|
+ // } else angular.element("#body").removeClass("scrollGlue");
|
|
|
+ // };
|
|
|
|
|
|
- var gotoBottom = function() {
|
|
|
- $location.hash("bottom");
|
|
|
- $anchorScroll();
|
|
|
- };
|
|
|
+ // var gotoBottom = function() {
|
|
|
+ // $location.hash("bottom");
|
|
|
+ // $anchorScroll();
|
|
|
+ // };
|
|
|
|
|
|
}])
|
|
|
.animation(".animate", function() {
|