Permalink
Browse files

Issue #31 : Remove borders from facebook notification windows

  • Loading branch information...
1 parent 7a60bcf commit 1d6ba5d021b001f34fdce69d09b4cf804c6d0428 @brianking brianking committed Sep 21, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 chrome/content/notifier.js
  2. +3 −3 chrome/content/notifier.xul
View
2 chrome/content/notifier.js
@@ -29,7 +29,7 @@ var _winService = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.ns
function NotifierLoad() {
fbLib.debug('NotifierLoad', _label, _url);
document.getElementById('pic').setAttribute('src', _src );
- document.getElementById('label').appendChild(document.createTextNode(_label));
+ document.getElementById('label').textContent = _label;
window.setTimeout('window.close();', 10000);
window.addEventListener('mouseup', NotifierClick, false);
}
View
6 chrome/content/notifier.xul
@@ -7,7 +7,8 @@
<window id="facebook-notifier"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- windowtype="facebook:notify">
+ windowtype="facebook:notify"
+ hidechrome="true">
<script type="application/x-javascript" src="chrome://facebook/content/lib.js"/>
<script type="application/x-javascript" src="chrome://facebook/content/notifier.js"/>
@@ -18,8 +19,7 @@
<vbox>
<image id="pic" class="notifier-image"/>
</vbox>
- <description id="label" class="notifier-text">
- </description>
+ <description id="label" class="notifier-text"/>
</hbox>
</vbox>

0 comments on commit 1d6ba5d

Please sign in to comment.