Skip to content

Commit 372e397

Browse files
author
Matteo Rossi
committed
v0.2.9
Fix bug container notification
1 parent a3638c5 commit 372e397

7 files changed

+14
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# mrFeedback - 0.2.8
1+
# mrFeedback - 0.2.9
22

33
`mrFeedback` - Create box feedback for your Angular App: simple, complete, personalized. With this plugin you can create and show a "box feedback" to the user. You can set "title" and "message" to show, add buttons that run connected functions when clicked, ecc... With new theme "notification" you could use it for real time notification too!
44

55
## Installation
6-
* Download the latest release: [v0.2.8](https://github.com/teorossi82/mrFeedback/archive/master.zip)
6+
* Download the latest release: [v0.2.9](https://github.com/teorossi82/mrFeedback/archive/master.zip)
77
* Clone the repository: `git clone https://github.com/teorossi82/mrFeedback.git`
88
* Install with [Bower](http://bower.io): `bower install mrFeedback`
99

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mrFeedback",
3-
"version": "0.2.8",
3+
"version": "0.2.9",
44
"homepage": "http://teorossi82.github.io/mrFeedback/",
55
"authors": [
66
"Matteo Rossi <teorossi82@yahoo.it>"

build/mrFeedback.js

+7
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,15 @@
237237
$element.find(".mrFeedback").removeClass("mrFeedback-show " + animation);
238238
animation = mrFeedbackConfig.defaultAnimation;
239239
$element.parent()[0].remove();
240+
detectNotContainerEmpty();
240241
},350);
241242
};
243+
var detectNotContainerEmpty = function(){
244+
var notContainer = $("body").find("#mrFeedback-notContainer");
245+
var check = notContainer.html();
246+
if(!check)
247+
notContainer.remove();
248+
};
242249
var centerBox = function(){
243250
var box = $element.find(".mrFeedback");
244251
var boxHeight = angular.element(box).height();

build/mrFeedback.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@
491491
top:10px !important;
492492
position: relative;
493493
width: auto;
494+
user-select: none;
494495
.box-feedback {
495496
box-shadow: 0px 0px 8px 4px rgba(200, 200, 200, 0.5);
496497
padding: 0px;
@@ -573,7 +574,6 @@
573574
top: 0;
574575
right: 0;
575576
z-index: 1000;
576-
bottom: 0;
577577
width: 250px;
578578
text-align: right;
579579
.mrFeedbackContent{

dist/mrFeedback.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mrFeedback.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mr-feedback",
3-
"version": "0.2.8",
3+
"version": "0.2.9",
44
"description": "is a component which you can create and show a 'box feedback' to the user. You can set 'title' and 'message' to show, add button that clicked trigger function that you pass it, ecc...",
55
"main": "dist/mrFeedback.js",
66
"scripts": {

0 commit comments

Comments
 (0)