mirror of
https://github.com/e107inc/e107.git
synced 2025-08-24 15:13:04 +02:00
Backward compatibility fixes.
This commit is contained in:
@@ -65,6 +65,9 @@ table.table { width: 100% }
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.s-message a.close { cursor: pointer }
|
||||
|
||||
|
||||
/* Bootstrap classes that hide content for all devices except screen readers (accessibility) */
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
|
13
e107_web/js/core/backcompat.js
Normal file
13
e107_web/js/core/backcompat.js
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
/* Legacy Theme v1.x compat when bootstrap not in use */
|
||||
|
||||
// (function ($)
|
||||
|
||||
|
||||
$('.s-message a.close').on('click', function ()
|
||||
{
|
||||
|
||||
$(this).parent('.s-message').hide('slow');
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user