Go to file
Timo Tijhof 72c8aba10e alert: Make selectors less overly specific and clean up js
Follows-up 383a818.

* There is no need for the additional element ("a") or
  descendant ("#pt-mytalk") selector.
  It isn't overrriding anything, only hardcodes details that make
  it harder to maintain or extend this stylesheet. For example,
  there is a gadget that makes  user messages green instead of
  orange, it now was required to hardcode the "#pt-mytalk a" part
  of the selector eventhough those are subject to change.
  Separation of concerns.

* Cache/reuse the jQuery object instead of executing the same
  query to the document, again. It also avoids a potential bug
  where the second query matches different elements (e.g. after
  appending alertMessage, there could potentially be an additional
  nested anchor link; there isn't now though, as the message is
  plain text).

* Add comment about weird echoNewMsgAlertDisplayed variable.

Change-Id: I682182fe15a868969f25fa5bfe2412e2a6f3dddf
2013-10-06 23:52:47 +00:00
api Fix some notification badge related issue 2013-10-02 11:25:05 -07:00
controller Adding Echo jobs to deferred update along with master wait 2013-09-04 17:32:54 -07:00
db_patches Respect revision suppression within Echo 2013-06-18 11:00:50 -07:00
formatters Merge "Bundle message should show diff of all included revisions" 2013-10-03 17:32:39 +00:00
includes Bundle message should show diff of all included revisions 2013-10-02 16:11:11 -07:00
jobs Adding Echo jobs to deferred update along with master wait 2013-09-04 17:32:54 -07:00
maintenance Remove invalid maintenance scripts 2013-07-03 12:09:45 -07:00
model Add hooks for EchoEvent's 2013-09-30 13:21:56 -07:00
modules alert: Make selectors less overly specific and clean up js 2013-10-06 23:52:47 +00:00
special Set returnto when linking anon to signup or login 2013-09-03 18:05:57 -04:00
tests user talk and mention notification improvement 2013-07-29 18:07:43 -07:00
.gitignore Add .gitignore 2012-05-21 01:34:55 +01:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jshintrc Add .jshintrc 2013-04-18 00:36:08 +02:00
Echo.alias.php Localisation updates from http://translatewiki.net. 2013-10-06 18:31:19 +00:00
Echo.i18n.php Localisation updates from http://translatewiki.net. 2013-10-06 18:31:19 +00:00
Echo.php Fix some notification badge related issue 2013-10-02 11:25:05 -07:00
echo.sql Remove inappropiate executable flag on Echo.php and echo.sql 2013-07-18 17:19:05 +02:00
Hooks.php Merge "Remove Echo preference change eventlogging" 2013-09-04 18:09:58 +00:00
Notifier.php (bug 48821) Echo badge count always lags by 1 2013-05-25 19:44:09 -07:00