Skip to content
Browse files

More correct applying of css3 transition

  • Loading branch information...
1 parent 88e27cd commit 6b65bf7fa8b3c8de054f2a1116f3338400f85799 @mwl mwl committed Sep 12, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 sc-web/src/main/webapp/index.html
  2. +1 −0 sc-web/src/main/webapp/js/application.js
View
2 sc-web/src/main/webapp/index.html
@@ -11,7 +11,7 @@
<title>Cave register</title>
</head>
<body>
-<div class="savedindicator animation"><i class="icon-ok"></i>&nbsp;Gemt!</div>
+<div class="savedindicator"><i class="icon-ok"></i>&nbsp;Gemt!</div>
<div class="container-fluid" ng-controller="IdentityCtrl">
<div class="navbar">
<div class="navbar-inner">
View
1 sc-web/src/main/webapp/js/application.js
@@ -19,6 +19,7 @@ module.controller("IdentityCtrl", function($scope, $location, $log, $http, $time
}
$scope.saveIdentity = function() {
$http.put("/identities/" + $scope.identity.cpr, $scope.identity).success(function(data, status) {
+ $(".savedindicator").addClass("animation")
$(".savedindicator").addClass("active")
$timeout(function () {
$(".savedindicator").removeClass("active")

0 comments on commit 6b65bf7

Please sign in to comment.
Something went wrong with that request. Please try again.