Difference between revisions of "MediaWiki:Group-editor.js"

From FamilySearch Wiki
Jump to navigation Jump to search
m (fix bad ReplaceText)
Tag: Rollback
(removing syntax error)
Line 1: Line 1:
 
/* This code should load for all editors */
 
/* This code should load for all editors */
  
var wikiErrorMessage = '''Please note that all edits made between 3am to 11am MST on Monday, Jan 29, 2018, 6am MST have been lost. You will need to redo your edits.  We apologize for this inconvenience''';
+
var wikiErrorMessage = 'Please note that all edits made between 3am to 11am MST on Monday, Jan 29, 2018, 6am MST have been lost. You will need to redo your edits.  We apologize for this inconvenience';
  
 
var siteNotice = document.querySelector('#localNotice');
 
var siteNotice = document.querySelector('#localNotice');
 
siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>';
 
siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>';

Revision as of 13:22, 17 March 2020

/* This code should load for all editors */

var wikiErrorMessage = 'Please note that all edits made between 3am to 11am MST on Monday, Jan 29, 2018, 6am MST have been lost. You will need to redo your edits.  We apologize for this inconvenience';

var siteNotice = document.querySelector('#localNotice');
siteNotice.innerHTML = '<div class="fs-alert fs-alert--error"><p>'+wikiErrorMessage+'</p></div>';